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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dimvexa-0.2.1.tar.gz | 7.8 kB | With provenance | Details for dimvexa-0.2.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| dimvexa-0.2.1-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details for dimvexa-0.2.1-cp39-abi3-win_amd64.whl |
| dimvexa-0.2.1-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.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
| dimvexa-0.2.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64 | Details for dimvexa-0.2.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
| dimvexa-0.2.1-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details for dimvexa-0.2.1-cp39-abi3-macosx_11_0_arm64.whl |
| dimvexa-0.2.1-cp39-abi3-macosx_10_12_x86_64.whl | CPython 3.9 | abi3 | macOS 10.12+ x86-64 | Details for dimvexa-0.2.1-cp39-abi3-macosx_10_12_x86_64.whl |
Total release size: 1.6 MB
Release files / dimvexa-0.2.1.tar.gz
| Download URL | dimvexa-0.2.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0cd550ce57e3f40b16bfd01552fec4c4b88f02128bed915e1967ed9a60bebb2
|
|
BLAKE2b-256 checksum How to use checksums |
f5983fafa86ae36952f187f929d350046fa0beccb8981e5d7eb9de915d97c6c8
|
| 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 9, 2026.
Transparency logRelease files / dimvexa-0.2.1-cp39-abi3-win_amd64.whl
| Download URL | dimvexa-0.2.1-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 253.3 kB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
c815dea3c7fe7010af045192ef4bf3b0acca3183d2b3e8db30a57e345c95fe58
|
|
BLAKE2b-256 checksum How to use checksums |
3a15105e99e11e44c243c000277e9e2de65df6661b9400a5287375ae974c6cce
|
| 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 9, 2026.
Transparency logRelease files / dimvexa-0.2.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | dimvexa-0.2.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 346.5 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5fc3f3e71c57f482eb2be7ac976d4fcf1d4f96e98b596460ee815c47874d3477
|
|
BLAKE2b-256 checksum How to use checksums |
06f5d8bb8b36bf4ffa23c3ca9198d91050cf1041dee6078fbeb7d167138f741c
|
| 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 9, 2026.
Transparency logRelease files / dimvexa-0.2.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | dimvexa-0.2.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 332.5 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
a41c4c9a7dd2d0131d0fe8f65b6068c346a67f559b8bc67d604bdd8fa5885cfe
|
|
BLAKE2b-256 checksum How to use checksums |
5bda510da3470c75cd8a0e9f07a499965bc96b408b5984d78c6a7d95ee2aad28
|
| 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 9, 2026.
Transparency logRelease files / dimvexa-0.2.1-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | dimvexa-0.2.1-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 337.2 kB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e93a633b2cf1b072d6570cfca199ae00703838945d8eeaba5e615b547f49aaeb
|
|
BLAKE2b-256 checksum How to use checksums |
b9c9558ed81b00f8f08246cff45b9652b7f5358f60b210c78df1b6e5f0bb31c9
|
| 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 9, 2026.
Transparency logRelease files / dimvexa-0.2.1-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | dimvexa-0.2.1-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 345.7 kB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
1c48cdfa6cd405c14db34f9787d3e546f0a464ac187e6dfd5c1b2c6dacdba37a
|
|
BLAKE2b-256 checksum How to use checksums |
e9adc3bff740cedc230fbb3350a30f3795f14b7fe1217509200165e7eb76568b
|
| 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 9, 2026.
Transparency logSecurity for dimvexa 0.2.1
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.
Attestation for dimvexa-0.2.1.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 9, 2026.
Transparency logA 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.