Skip to main content

A lightweight Pythonic interface for PostgreSQL

Project description

PyPQL

PyPQL is a lightweight, Pythonic interface for interacting with PostgreSQL databases. It allows developers to build readable, composable, and expressive queries in pure Python — no need to write raw SQL.

Features

  • Intuitive, fluent query syntax
  • Built-in support for PostgreSQL async operations via asyncpg
  • Easy integration with FastAPI and modern Python web frameworks
  • Designed for clarity, flexibility, and developer happiness

Installation

Install from PyPI:

pip install pypql

Or download the ZIP directly from the official website if preferred. GitHub repository coming soon.

Example

from pypql import Table

users = Table('users')
query = users.select().where(users.age > 18)
print(str(query))  # Outputs: SELECT * FROM users WHERE age > 18;

License

MIT License — see LICENSE for details.

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

pypql-0.1.0.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

pypql-0.1.0.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file pypql-0.1.0.2.tar.gz.

File metadata

  • Download URL: pypql-0.1.0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for pypql-0.1.0.2.tar.gz
Algorithm Hash digest
SHA256 bf6a64743a452f2314d98613d012c8ecd79c0471e8d847b0ee06249650024e4d
MD5 833ab5354130ed57c277801275b7dfa5
BLAKE2b-256 07b54ed22a91f1005af3ca43024e3fd55fb4321cedc96c2e58239499e7548ca6

See more details on using hashes here.

File details

Details for the file pypql-0.1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pypql-0.1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for pypql-0.1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e12ce1216077f17014f44a043ca2033a2d01aa269e5ff938836b63e5c3bea58e
MD5 810f80078ddce954bdccdfe74aa2007e
BLAKE2b-256 ee1ce1ee04fed60f247182cedc126164a5cf0a1e1614d7323c1fa7ed7dd5fc1f

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