Skip to main content

ORM-oriented RSQL support for Python applications.

Project description

pyrsql

pyrsql is an ORM-oriented RSQL library for Python.

The project is being designed to support multiple ORMs, starting with SQLAlchemy 2.0. The core package remains ORM-neutral, while ORM implementations live in orms, and framework-specific integration lives in adapters.

Current SQLAlchemy support includes:

  • filters
  • sorting
  • pagination
  • distinct
  • join_hints
  • PostgreSQL-style JSON / JSONB path support
  • temporal JSON path semantics via JSONOptions(use_datetime=True)

Current adapter support includes:

  • FastAPI request extraction via dependencies
  • configurable filter, sort, page, and size parameters
  • class-based and factory-based FastAPI dependencies
  • HTTP 422 translation for pyrsql parse and semantic failures

Development Principles

  • Object-oriented design
  • SOLID principles
  • Google Python Style Guide
  • Strong typing
  • ORM-neutral public API

Documentation

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

pyrsql-0.0.1.tar.gz (105.3 kB view details)

Uploaded Source

Built Distribution

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

pyrsql-0.0.1-py3-none-any.whl (66.5 kB view details)

Uploaded Python 3

File details

Details for the file pyrsql-0.0.1.tar.gz.

File metadata

  • Download URL: pyrsql-0.0.1.tar.gz
  • Upload date:
  • Size: 105.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyrsql-0.0.1.tar.gz
Algorithm Hash digest
SHA256 db00cf11959385b3b5b030b3db1b7d6be0657044e0eea3e75757260149876a56
MD5 3945dc6b2692c2e4ab2411ad6a8d67e8
BLAKE2b-256 4dccf877b7e1d70351852573a9171b4a3e517ae97b91a6e4673ab5ab5ee1d0d2

See more details on using hashes here.

File details

Details for the file pyrsql-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyrsql-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 66.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyrsql-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4cba835c7f6c77e6b3194b175517b362bedc2a5565b5525e635a26e262b91591
MD5 e87977de19b8b62fdf5be096d1bc9bb5
BLAKE2b-256 2ba5743eb2fb317c70b993ae95fdd58310bd8d34480fb7b6b4b86ba9c0089886

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