Skip to main content

Rust-backed async ORM for Python applications that already use Pydantic models as their data boundary.

Project description

ormdantic-py

PyO3 bindings for Ormdantic Rust internals.

ormdantic-py builds the Python extension module exposed as ormdantic._ormdantic. It is the boundary where Python passes schema metadata, query plans, values, and connection URLs into Rust.

Python Module Surface

Export Purpose
PyNativeConnection Python wrapper around a persistent native connection.
hydrate_flat Hydrates flat result rows into Python dictionaries.
hydrate_joined Hydrates joined result rows into nested dictionaries/lists.
plan_result_shape Returns result-shape metadata for joined hydration.
validate_schema_tables Registers table metadata and validates relationships.
compile_select_pk Compiles a primary-key lookup.
compile_find_many Compiles a filtered/paginated select.
compile_joined_find_many Compiles a joined relationship select.
compile_count Compiles a count query.
compile_insert Compiles an insert query.
compile_update Compiles an update query.
compile_upsert Compiles an upsert query.
compile_delete_pk Compiles a primary-key delete query.
execute_native Executes SQL through a native database URL.
snake_case Converts names to Ormdantic's database naming style.
sql_value Converts Python values into SQL bind values.
compile_create_table_sql Compiles table DDL statements.
compile_drop_table_sql Compiles a table drop statement.

Dependencies

Internal dependencies:

  • ormdantic-core
  • ormdantic-schema
  • ormdantic-hydrate
  • ormdantic-dialects
  • ormdantic-engine
  • ormdantic-sql

External dependencies:

  • pyo3

Build

From the repository root:

cargo build -p ormdantic-py

The Python package build uses maturin and maps this crate to ormdantic._ormdantic.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

ormdantic-2.0.0-cp314-cp314-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.14Windows x86-64

ormdantic-2.0.0-cp314-cp314-manylinux_2_38_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.38+ x86-64

ormdantic-2.0.0-cp314-cp314-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

ormdantic-2.0.0-cp313-cp313-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.13Windows x86-64

ormdantic-2.0.0-cp313-cp313-manylinux_2_38_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.38+ x86-64

ormdantic-2.0.0-cp313-cp313-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

ormdantic-2.0.0-cp312-cp312-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.12Windows x86-64

ormdantic-2.0.0-cp312-cp312-manylinux_2_38_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.38+ x86-64

ormdantic-2.0.0-cp312-cp312-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

ormdantic-2.0.0-cp311-cp311-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.11Windows x86-64

ormdantic-2.0.0-cp311-cp311-manylinux_2_38_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.38+ x86-64

ormdantic-2.0.0-cp311-cp311-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

ormdantic-2.0.0-cp310-cp310-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.10Windows x86-64

ormdantic-2.0.0-cp310-cp310-manylinux_2_38_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.38+ x86-64

ormdantic-2.0.0-cp310-cp310-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file ormdantic-2.0.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 5b25156303276d4c8ae8b2fd017d9607baf17ae81d4001a2b8bd1952806b2011
MD5 687ae74ae8a24c60cac356875340853d
BLAKE2b-256 3642c20ec562a4e07ecf059b56243a40f12fe157d41b912e693dc10301ffeef4

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp314-cp314-manylinux_2_38_x86_64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp314-cp314-manylinux_2_38_x86_64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 3.14, manylinux: glibc 2.38+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp314-cp314-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 8fb1d97db991e645838248c27a615f559bb18e2658fa29d9618b2e9b5c8b2c77
MD5 516f5e711f36004429d4098fb2db22f5
BLAKE2b-256 48697c8452595eb25136374c7c6a0a849426c0998da753757a7ca01c8ffb8e55

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp314-cp314-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.14, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 40e4bd6598a95af62484f6863d7b99ffb7b0ca6ba2b7c83ae29b0b52f6b01d7e
MD5 eed84a75b244803adb9c562558518ad4
BLAKE2b-256 bb520eab78a502526d14c328f153c3f4675a593cc632ad3fc2459c005b1285d4

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 65e8fc6c600f648ccfbeffc2a04446b09b4989846c8a2b2ad73ff556957104e8
MD5 64990e660d73cdc869232b6291efa641
BLAKE2b-256 ec6aeccb51d7e9c831007288cc35cd523a733c02a90b000f5b0af5e55308a337

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp313-cp313-manylinux_2_38_x86_64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp313-cp313-manylinux_2_38_x86_64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 3.13, manylinux: glibc 2.38+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp313-cp313-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 11af5ce60a6d9a3d32fe9b02d553f922575505c9879dcb750415af837f55313d
MD5 b34c4cf44f021e2cf97043406eb3b4bd
BLAKE2b-256 c5c736a6ac3f519b77271e7016b3d5128ff6fb4000b0cce97448f9be6f174b9c

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.13, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e5063aece011749a49ebea364fb7494eb20e2a1678779d248fe7341f375932ae
MD5 988a7a5dc195c678e5dd54d2bdd2c474
BLAKE2b-256 3a4c878a896639a84ac8ec3e9dca4042b4e37bdcb59f3c089ab55a5fa94feb7e

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ed41829e0925767f0a77df597a79d7e070230140761e22f2e337387f469dbafc
MD5 d9e63cc51c20ce05cff535afba388632
BLAKE2b-256 c652970b67e05f2cb4bc4e0310d8eb415d1a3eef53e7ecd440a74fa2196aa70d

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp312-cp312-manylinux_2_38_x86_64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp312-cp312-manylinux_2_38_x86_64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 3.12, manylinux: glibc 2.38+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp312-cp312-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 1533424f1cc70d3ec8f4037c53e63b205305b6ac071c75f7f0e7a4b93f923587
MD5 2f0ebefe12e6278f50e96fe6f2ba62e9
BLAKE2b-256 ffe867568a7f1297c0c60b053616f61516075214a589fe1645aed80ad9e8151d

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.12, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1a5a3583eb7f8db2ca45ed1ba85588b388c6bd5ea2cc1b3ab447542abc2de1f8
MD5 140de96ee9edd8b5d824effcf1ec67f7
BLAKE2b-256 2a37c23e4631e179795b623af19983bb6fddb2b61ba825955de93ed0b5d01184

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 79a4f43250e89237e56a47fd38cbf787557894841d324115f384b5ce325c2c93
MD5 feeeb1a97954de5fdc92228f54ce74ca
BLAKE2b-256 ad7467ba1a0f15e11f93fbd2371871eff99ad193771b22aefcbae4a54bfa702e

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp311-cp311-manylinux_2_38_x86_64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp311-cp311-manylinux_2_38_x86_64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 3.11, manylinux: glibc 2.38+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp311-cp311-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 f5f7be54b1c61816c02752232c2a2568cc0e41b0545a4ef91a4b5a42fefa2614
MD5 5baeeba87a4c006991853ff72b63ecfd
BLAKE2b-256 5d6c045b6b7ca94fba7bb0e582aa39695af601c5dffefabcf796fce89dcf6844

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp311-cp311-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.11, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c13b032fc46e7b2e15be5814726f7df89bf994b6da8495d2743dc7b37a02c93b
MD5 ec4ae8b00ef93f45b545e4f436547ff5
BLAKE2b-256 1551cd96d93f0c5dec1f4c6a32b6d0ec9ac82df2934869d9d185381f1c528cc8

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 078826bd9e50cde033c382abd9a2681a0bb772c01aa1f155ba34f4ac8f8295a8
MD5 67b2e479dc4a5f7691038b41442b1e17
BLAKE2b-256 52e5248bd79d170cce8b68c6148005175c1517b4f8a3fdab4981f45e7774ec3b

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp310-cp310-manylinux_2_38_x86_64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp310-cp310-manylinux_2_38_x86_64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 3.10, manylinux: glibc 2.38+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp310-cp310-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 54b14a32bfbeb15dce53f8c2dc5722f8d56be741e2f1aaa565470070c11523d7
MD5 b7432afb58a761d2080b7f1cb4a980ce
BLAKE2b-256 3bbdc3b30e21d7e0fb28f0fe2ff4997095ebc77f733a303c83fea356450da3e8

See more details on using hashes here.

File details

Details for the file ormdantic-2.0.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ormdantic-2.0.0-cp310-cp310-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.10, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 ormdantic-2.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b5293feafe1640459603f1711821cf89dcd16f04cf39deb8f50d309f8c30c280
MD5 af815310cdf6a6f6fea544acd42d76b5
BLAKE2b-256 3bc2cedbb76de382efd7f490505f178274b7a78b8c6efa26a224e3d0c3b7a65a

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