skillfed

ormar-utils

Rust-accelerated utility functions for the ormar ORM

ormar-utils v0.2.0 78.4K downloads/30d#14,444 on PyPI0
Permissive license MIT Active released

What it is and what it does

ormar-utils is a companion package to the ormar async ORM that provides Rust-compiled versions of internal utility functions. It contains no runtime dependencies and is designed to be installed alongside ormar; when present, ormar automatically uses the faster Rust implementations for operations like encoding/decoding bytes and JSON, hashing, list/dict transformations, and merge planning.

The package is built as a compiled extension using the CPython stable ABI, meaning a single wheel per platform supports Python 3.10 and later without requiring separate builds for each Python version. It is optional—ormar works without it—but offers performance gains for workloads that heavily use the accelerated operations. The package is actively maintained, recently released, and carries no known security vulnerabilities.

Use it for:

  • Speed up ormar ORM queries and data transformations by installing Rust-accelerated utilities alongside ormar.
  • Optimize performance-critical async database operations that rely on ormar's internal hashing and list-grouping functions.
  • Reduce latency in applications using ormar by leveraging compiled Rust implementations of encoding/decoding and merge planning.
  • Deploy ormar applications across multiple Python versions (3.10+) without rebuilding wheels, thanks to stable ABI compatibility.
  • Improve throughput in high-volume data processing pipelines that use ormar's UniqueList and dict-translation utilities.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Rust-accelerated implementations of performance-critical utility functions for the ormar async ORM, automatically used by ormar when installed.

Yes, if you use ormar and want transparent performance gains. Install friction is moderate (compiled wheels, Python 3.10+ required), but pre-built wheels cover common platforms and the stable ABI eliminates per-version rebuilds. The package is actively maintained, has no security vulnerabilities, and carries a permissive MIT license. It is optional—ormar functions without it—so there is no downside to trying it if your platform is supported.

Install

ormar-utils on PyPI

pip

pip install ormar-utils

uv

uv add ormar-utils

poetry

poetry add ormar-utils

Installing ormar-utils

Before you install

Medium install friction due to compiled wheels; however, pre-built wheels target the stable ABI (abi3) for Python 3.10+, so a single wheel per platform works across current and future Python releases without per-version rebuilds. Repository is active with recent commits.

License in practice

MIT license is permissive; you may use, modify, and distribute this package with minimal restrictions, provided you retain the license notice.

Quickstart

pip install ormar-utils

# ormar automatically detects and uses the Rust implementations
import ormar
# Use ormar as normal; Rust-accelerated functions are invoked internally

Requires Python >= 3.10. Pre-built wheels are available for macOS (x86_64, arm64), Linux (x86_64, aarch64), and Windows (x64); other platforms may require a Rust toolchain to build from source.

Verify before relying

  • Exact performance improvement magnitude over pure-Python implementations not quantified in the fact sheet.
  • Whether ormar detects and uses these functions automatically or requires explicit configuration.
  • Compatibility with all ormar versions or specific version constraints.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 67 days since the last release
Last repo commit
First released
Downloads 78,430/month — #14,444 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: ormar_utils-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl; ormar_utils-0.2.0-cp310-abi3-macosx_11_0_arm64.whl; ormar_utils-0.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; ormar_utils-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; ormar_utils-0.2.0-cp310-abi3-win_amd64.whl

Keywords: ormar, orm, rust, performance

Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: RustTopic :: Database

Tags

ormar performance optimizationrust accelerated orm utilitiesormar rust speedupasync orm utilitiesormar internal functionsdatabase orm accelerationrust python orm
rust-acceleratedorm-utilitiesperformance-optimization

More Database packages