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

Uploaded Python 3

File details

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

File metadata

  • Download URL: djanorm-2.3.1.tar.gz
  • Upload date:
  • Size: 676.5 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.1.tar.gz
Algorithm Hash digest
SHA256 a10609c16351fa17d74693f2cd70d44e5e4db94762db801146e7f4a38b54cbd6
MD5 a16845d6273558a9beb93bc41cf86881
BLAKE2b-256 08f52027212b30c14ada7aef13a1c327707f76102f3183fddebdf34991ac79ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for djanorm-2.3.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: djanorm-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 214.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 14eb1c1dc3be98af0a5b9b363616d0f32736305721ed14061b09d889c67d4cd7
MD5 bd66fc7c6f6b1a954d0cdf2aaff7e1ca
BLAKE2b-256 1816798ff2bae73c60e9afbd655dccd4866684c766e41fe836a443e8cecb1c7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for djanorm-2.3.1-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