Skip to main content

Dimvexa

dimvexa (Python)

Python binding for Dimvexa: Exact factors. Loud failures. Zero guessing. A thin PyO3 layer; all conversion logic is in the Rust core.

import dimvexa

dimvexa.convert(10.0, "m/s", "km/h")  # 36.0
c = dimvexa.conversion("m", "km")  # parse once ...
c(numpy_array)  # ... apply to float64 arrays, lists or floats

try:
    dimvexa.convert(1.0, "gal", "L")
except dimvexa.DimvexaError as e:
    e.code, e.candidates  # 'ambiguous_symbol', ['gal_us', 'gal_imp']

Every refusal is a DimvexaError (a ValueError) with a stable code, suggestions and candidates. exact=True routes through the exact rational path, rounded once.

Build and test

This crate is its own workspace (it needs PyO3 and NumPy from the registry; the main workspace is std-only and offline). It is not part of cargo xtask ci.

cd bindings/python
python -m venv .venv && . .venv/bin/activate
pip install maturin pytest numpy
maturin develop
pytest

Wheels are abi3 (Python 3.9+). No performance claim is made until a dated benchmark run exists (docs/benchmarking.md).

Metadata

Release files for dimvexa 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dimvexa 0.2.2
File Size Uploaded Provenance Actions
dimvexa-0.2.2.tar.gz 7.9 kB With provenance Details for dimvexa-0.2.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for dimvexa 0.2.2
File Actions
dimvexa-0.2.2-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for dimvexa-0.2.2-cp39-abi3-win_amd64.whl
dimvexa-0.2.2-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for dimvexa-0.2.2-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
dimvexa-0.2.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for dimvexa-0.2.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
dimvexa-0.2.2-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for dimvexa-0.2.2-cp39-abi3-macosx_11_0_arm64.whl
dimvexa-0.2.2-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for dimvexa-0.2.2-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 1.6 MB

Release files / dimvexa-0.2.2.tar.gz

Download URL dimvexa-0.2.2.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
655b7bdf97cfee9a4ac4d3da4d1813fcba9ab9a27ae365439c0c73cc2f2f0460
BLAKE2b-256 checksum
How to use checksums
96ebb71afc58927c5562e1e396c8da37f5ac4acd114ae107587fe10f3f521c51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / dimvexa-0.2.2-cp39-abi3-win_amd64.whl

Download URL dimvexa-0.2.2-cp39-abi3-win_amd64.whl
Size 254.1 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
940ce2032bbb1427a0d3ee881eb7433d7f7e7288d5580d42c7da47574cecfb8f
BLAKE2b-256 checksum
How to use checksums
34a91f9d6a5f319e87f0b2569251371bd35a57a5470039c1c6fbbc9415870b3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / dimvexa-0.2.2-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL dimvexa-0.2.2-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 342.0 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
2318d659b9266edd4ae1744040ac64d9f593f7c8e524229e752ee21e8ea42145
BLAKE2b-256 checksum
How to use checksums
e1601c1b6b7a565604535d597c680534828bf3a75e0a19863fe93a083d631f90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / dimvexa-0.2.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL dimvexa-0.2.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 329.7 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
0d8f77542c712d66b3f35364f220e1f4b5ab3a80fdb7224415170b361a4ddd0d
BLAKE2b-256 checksum
How to use checksums
d843c59b1f95f6fad415f47ae7d5280ee785c64735bbaafbe930d4ae925680ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / dimvexa-0.2.2-cp39-abi3-macosx_11_0_arm64.whl

Download URL dimvexa-0.2.2-cp39-abi3-macosx_11_0_arm64.whl
Size 336.9 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4542162d7a91c9adaf7225a714bdd865455a0d9185663490e4a13e7ab1afb05b
BLAKE2b-256 checksum
How to use checksums
9ffa5f16caf72cd7610c291895591cddebba4765479ffc1692a30821b7d8ab03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / dimvexa-0.2.2-cp39-abi3-macosx_10_12_x86_64.whl

Download URL dimvexa-0.2.2-cp39-abi3-macosx_10_12_x86_64.whl
Size 344.3 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
8b482960b97b111157f557bdfe3747af5ada755c838c8105ba7deec2ef0be2b1
BLAKE2b-256 checksum
How to use checksums
1867740c94a73ad2053a13afb4e3624082e2a013533b81b5c0d6bf8e692c775a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for dimvexa 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for dimvexa-0.2.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page