Skip to main content

Lightweight SQL query builder

Project description

david8

david8 is a lightweight Python SQL builder with zero dependencies. Clean API. Safe parameters. No ORM magic.

No manual parameter naming. Just pass values - david8 handles the rest:

.where(eq('age', 18), lt('score', 100))
# WHERE age = %(p1)s AND score < %(p2)s
# {'p1': 18, 'p2': 100}

100% test coverage · thousands of downloads

Built-in dialect support: ClickHouse · DuckDB · PostgreSQL · Apache Doris · MySQL · SQLite

See Wiki

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

david8-1.9.0b1.tar.gz (33.6 kB view details)

Uploaded Source

Built Distribution

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

david8-1.9.0b1-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file david8-1.9.0b1.tar.gz.

File metadata

  • Download URL: david8-1.9.0b1.tar.gz
  • Upload date:
  • Size: 33.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for david8-1.9.0b1.tar.gz
Algorithm Hash digest
SHA256 3810389751fc43d33c4087b0ac41517130b44bb468228e555d51ddc233b07927
MD5 8c256c38cabeac5141acfba0c81486e8
BLAKE2b-256 ca59de320342162fee11e2d9769e0610eb4c445ef450943ca15d99ebc66d329a

See more details on using hashes here.

File details

Details for the file david8-1.9.0b1-py3-none-any.whl.

File metadata

  • Download URL: david8-1.9.0b1-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for david8-1.9.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f8b2cb2556f0095ff5c197a568a89364cf51b03f9197543c9a5827ecb0747d1
MD5 bccf926874d480e1de5375df3e3412f7
BLAKE2b-256 0be69599061ac9c63d806db975f38d125edf69d8ca3bc98ea6d5f277df5a7445

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