Skip to main content

A Python library for programmatically building SQL queries

Project description

sqlexpr

A Python library for programmatically building SQL queries. It produces well-formatted, readable SQL with proper indentation and line wrapping.

Documentation

Full documentation is available at https://sqlexpr.readthedocs.io/.

Development setup

git clone https://github.com/davejohncole/sqlexpr.git
cd sqlexpr
make venv
source .venv/bin/activate
make dev-deps

Makefile targets

All targets except venv assume the virtual environment is active.

$ make
venv           - create virtual environment in .venv
dev-deps       - install development dependencies into .venv
doc            - build HTML documentation into doc/_build
doc-serve      - build and serve documentation at http://localhost:8000
doc-clean      - remove built documentation
test           - run unit tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlexpr-2.2.1.tar.gz (34.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlexpr-2.2.1-py3-none-any.whl (48.5 kB view details)

Uploaded Python 3

File details

Details for the file sqlexpr-2.2.1.tar.gz.

File metadata

  • Download URL: sqlexpr-2.2.1.tar.gz
  • Upload date:
  • Size: 34.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for sqlexpr-2.2.1.tar.gz
Algorithm Hash digest
SHA256 68a1eeb2e2c02ea9014441cd90f18eb60f43aeb8760782b1c68a0dd7d774170b
MD5 b6243c0f5c291b2c2b0887b372c41ebf
BLAKE2b-256 c7c09c9e30eb426ec69f765e2c96ce04a19115c8a2904b1e612140dc7e32b790

See more details on using hashes here.

File details

Details for the file sqlexpr-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: sqlexpr-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 48.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for sqlexpr-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63c8bd07a1311c7306e96986127f92e07e27f878064f24fc04c57eda350ef7cc
MD5 5ec5954816248078ecc3d145e526025b
BLAKE2b-256 0f0c88f87562f06182338fea226bae8fee750026ea212d7cebfd00f037c985fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page