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.3.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.3.0
File Size Uploaded Provenance Actions
dimvexa-0.3.0.tar.gz 8.3 kB With provenance Details for dimvexa-0.3.0.tar.gz

Built distributions (wheels)

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

Total release size: 1.6 MB

Release files / dimvexa-0.3.0.tar.gz

Download URL dimvexa-0.3.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
31fad29cc5c89bcc687c1703fd23945896e9d321b9d489c835e13d3e1e70ef1b
BLAKE2b-256 checksum
How to use checksums
d15e0cbda41f19daee4fc6885eaa6886e3bb02b841368627b5b9e0acb774a2e5
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.3.0-cp39-abi3-win_amd64.whl

Download URL dimvexa-0.3.0-cp39-abi3-win_amd64.whl
Size 257.6 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
2fb58208d037b8e5409e752b024998a13571b6614dd9c8d0cc5bff34acd5ad56
BLAKE2b-256 checksum
How to use checksums
53e39687176c5976c868dc60b8659c6390cd782d50cec67c9c5dcc4e383e89a6
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.3.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL dimvexa-0.3.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 344.8 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
ee293f901114e874e70ee98c1411941e177280fc3a470a6ae08045deededaa29
BLAKE2b-256 checksum
How to use checksums
3d552e5bb6a8507dcd72634b066bfad6b42d0a338dd590879726ee0fa16cfc5a
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.3.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL dimvexa-0.3.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 333.4 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
d701ed7c3e083b0b054b1867834227f56c722b0a1a7f7b284e8c1671e6581d8d
BLAKE2b-256 checksum
How to use checksums
e14e7ff84b76d57a3fe58b2fdf3b7df6ac74a644597382bb90d1bf0354e3413b
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.3.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL dimvexa-0.3.0-cp39-abi3-macosx_11_0_arm64.whl
Size 340.8 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
620920e8c0b14f502dace47014a8f1299d8314ff5aa3dc03bf778d88c20b0b8e
BLAKE2b-256 checksum
How to use checksums
5d2b30de1560f238051f64d96a05aa20d78244ceec40f1e57689e929dbe0f981
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.3.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL dimvexa-0.3.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 347.7 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
cbad9fdaf4ab06b2f299c388ad5d5f27a98eeb38ae0824afd7c11d0b081cb0cd
BLAKE2b-256 checksum
How to use checksums
08b8d932d7f8ff87d264fe258b2c871ae86de8e80a5c41329e7e49a72b7e59c5
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.3.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.3.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