pugsql

A HugSQL-inspired database library for Python

  • Owner: mcfunley/pugsql
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

PugSQL

Build Status

PugSQL is a simple Python interface for using parameterized SQL, in files.

See pugsql.org for the documentation.

To install:

pip install pugsql

Development Setup

To set up a development environment, create a virtual environment. pyenv-virtualenv
is a good way to do this:

brew install pyenv-virtualenv
pyenv virtualenv 3.8.2 pugsql
pyenv activate pugsql

Development of the library is done with poetry. Install poetry
to your virtualenv:

pip install --upgrade pip
pip install poetry

To run the tests and the linter:

poetry run pytest
poetry run flake8

Main metrics

Overview
Name With Ownermcfunley/pugsql
Primary LanguagePython
Program languagePython (Language Count: 3)
Platform
License:Apache License 2.0
所有者活动
Created At2019-05-19 16:55:38
Pushed At2025-03-21 18:15:24
Last Commit At2025-03-21 09:54:15
Release Count27
Last Release Namev0.3.5 (Posted on 2025-03-20 15:02:50)
First Release Namev0.1.4 (Posted on 2019-05-25 13:21:50)
用户参与
Stargazers Count738
Watchers Count10
Fork Count26
Commits Count339
Has Issues Enabled
Issues Count45
Issue Open Count20
Pull Requests Count18
Pull Requests Open Count6
Pull Requests Close Count11
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private