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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypql-0.1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 06e15ea5a9cd86a978726b8f6e379fa23bec6cf6f883ae041bf39d45527b30e5
MD5 02b04c5c7f53ef509a66ce22e2833ca6
BLAKE2b-256 5bed10cab9446ebdf2a90f9169ee20703904dcc5161126f9dbe84d0337400a98

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypql-0.1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d5a2580c587933fccc75c950d4692dde726150550cfdb5a17e35911acbcab8ad
MD5 0a31a3949c8d43062d3f5711a1441ed3
BLAKE2b-256 623a03114986c72d62355a26854af73de8fb1b08f8da487982484b17e68ffd32

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