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.1.tar.gz (2.6 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.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypql-0.1.0.1.tar.gz
  • Upload date:
  • Size: 2.6 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.1.tar.gz
Algorithm Hash digest
SHA256 63ac8c22f010bbe1fca950e98f235e9cc163e473eba31b34d58cc681bae2e0d8
MD5 a9a663a45107c2fedf22fd3f28d5b1a8
BLAKE2b-256 9f9dad8a736141168552c29c952985ef429bc11aff4711cf560c71d8ee3259dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypql-0.1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35464ea0b93aa265ced0a4f81415bc1afe48e00e39bf6aab869ad02da89dcd2f
MD5 63e8ca0dd7c5f5e286dd9060c7cfe591
BLAKE2b-256 45e2a94afd93553055d2cb99ea17efb7e7f59835d8b9e10de40b804086d61c26

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