Skip to main content

A Django-like ORM with synchronous and asynchronous support

Project description

djanorm

A Django-inspired ORM for Python with full synchronous and asynchronous support. The same API you know from Django, without depending on the full framework.

Works with SQLite and PostgreSQL, and ships with a migration system, atomic transactions, signals, validation, relationship loading (select_related / prefetch_related), aggregations, DB functions and much more — all with real static typing (Field[T]).

Installation

# SQLite
pip install "djanorm[sqlite]"

# PostgreSQL
pip install "djanorm[postgresql]"

Documentation

The full documentation, tutorials and API reference are published at:

https://rroblf01.github.io/d-orm/

You will find the getting-started guide, complete examples, the API reference and production deployment notes there.

Contributing

Everyone is welcome to get involved! If you want to suggest changes, propose improvements or discuss the direction of the project, open an issue or a pull request on this repository. Discussions, ideas and critiques are very welcome.

License

See LICENSE.

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

djanorm-2.3.0.tar.gz (674.8 kB view details)

Uploaded Source

Built Distribution

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

djanorm-2.3.0-py3-none-any.whl (211.6 kB view details)

Uploaded Python 3

File details

Details for the file djanorm-2.3.0.tar.gz.

File metadata

  • Download URL: djanorm-2.3.0.tar.gz
  • Upload date:
  • Size: 674.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for djanorm-2.3.0.tar.gz
Algorithm Hash digest
SHA256 9a8b5eaf4c7b9e70e7613def5958bd48c5ea403d5ee5efba76865c775d8c3561
MD5 3e779b5fc71fbc2f47c8306b1cdddcb7
BLAKE2b-256 9bface6e01f9f776c6124520bff99a9cf43bc1c926dcbd4751a832e1592e649b

See more details on using hashes here.

Provenance

The following attestation bundles were made for djanorm-2.3.0.tar.gz:

Publisher: publish.yml on rroblf01/d-orm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file djanorm-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: djanorm-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 211.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for djanorm-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c66771e16fb5f489f02e0bcdaaa845e665a3ba2e2643db378ae80302a66d15eb
MD5 8f58b837ff4a037196c6d1aa81e29aea
BLAKE2b-256 36e40c1cc343cdd0c233c6acb698feedd207992cf1708230974b82f42d4bf925

See more details on using hashes here.

Provenance

The following attestation bundles were made for djanorm-2.3.0-py3-none-any.whl:

Publisher: publish.yml on rroblf01/d-orm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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