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.5.0

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.5.0
File Size Uploaded Provenance Actions
dimvexa-0.5.0.tar.gz 8.5 kB With provenance Details for dimvexa-0.5.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for dimvexa 0.5.0
File Actions
dimvexa-0.5.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for dimvexa-0.5.0-cp39-abi3-win_amd64.whl
dimvexa-0.5.0-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.5.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
dimvexa-0.5.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for dimvexa-0.5.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
dimvexa-0.5.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for dimvexa-0.5.0-cp39-abi3-macosx_11_0_arm64.whl
dimvexa-0.5.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for dimvexa-0.5.0-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 1.7 MB

Release files / dimvexa-0.5.0.tar.gz

Download URL dimvexa-0.5.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a5280713f64d6c9b189ab3a33316fd363456eb898944b3747f3341a8d5d8e16c
BLAKE2b-256 checksum
How to use checksums
fdb3548b15552cecc1980938784e8b29beef7d1141e5c6035c97c54e86b9ec80
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 11, 2026.

Transparency log

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

Download URL dimvexa-0.5.0-cp39-abi3-win_amd64.whl
Size 265.4 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c72d208b3db17100be6eb9e4007a9128013faa6cdb43a6366f06914dcd5504eb
BLAKE2b-256 checksum
How to use checksums
39127c293e1b82bf2c583fa33a3c070fcdac3360942c9cad4c6a6fe048d17320
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 11, 2026.

Transparency log

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

Download URL dimvexa-0.5.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 353.8 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
371579543e3b2e469dc62d9563ba8c7e578a51a72136b2d4428fc7620ffe2a3e
BLAKE2b-256 checksum
How to use checksums
3ebab3d50b8b25e0aefe5a98e11f8627a76adbf66de58a3f27d7b47a0c4c4d50
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 11, 2026.

Transparency log

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

Download URL dimvexa-0.5.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 342.6 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
f9e941562b0ede5f4495483fd76252b65b1d10881bde6d6b1056ab18e00c3679
BLAKE2b-256 checksum
How to use checksums
6305aba01b1637544b621c869ef1c0d662350cc1d6bbeeab3521ba9d487c6d27
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 11, 2026.

Transparency log

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

Download URL dimvexa-0.5.0-cp39-abi3-macosx_11_0_arm64.whl
Size 348.6 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
597b0abfeefafca75350a4b5db83a7630955fa72e2575cff3d86780ca2590d4b
BLAKE2b-256 checksum
How to use checksums
408e5abfcf293a7940e3067cdf8aa1a345462a04550fac17fd86ffa8093c93b1
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 11, 2026.

Transparency log

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

Download URL dimvexa-0.5.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 355.8 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
5daf4fee5390e39fbbf6844f440b604903817f4ca100219bb88eb26bba9f6d0e
BLAKE2b-256 checksum
How to use checksums
532fa773822e91085852ff411f4655eb0a366c0d4e4704ce902710c0d4862610
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 11, 2026.

Transparency log

Security for dimvexa 0.5.0

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.5.0.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 11, 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