unxt-api
Note: As of v2.0.0,
unxt-apiis a backward-compatible shim forunxts.api— the new canonical location for this package. No code changes are required:import unxt_apicontinues to work exactly as before. New projects should preferpip install unxts.apiandimport unxts.api.
Abstract dispatch API for unxt.
unxt-api defines the abstract dispatch interfaces that unxt and other packages implement. It provides a minimal dependency foundation for packages that want to define or use unxt's multiple-dispatch-based API without pulling in the full unxt implementation.
Installation
pip install unxt-api # legacy name — continues to work long-term
pip install unxts.api # canonical name going forward
Migration
If you currently depend on unxt-api, you have two options:
-
Do nothing —
unxt-apire-exports the full public API fromunxts.apiand will be maintained long-term. Existing code requires no changes. -
Migrate to
unxts.api— change your dependency and imports:- pip install unxt-api + pip install unxts.api
- import unxt_api as uapi + import unxts.api as uapi
All public symbols (
uconvert,ustrip,unit,dimension, etc.) are identical — the canonical package is the source of truth and the shim simply re-exports from it.
Core API
- Dimensions —
dimension,dimension_of - Units —
unit,unit_of - Quantities —
uconvert,uconvert_value,ustrip,is_unit_convertible,wrap_to - Unit Systems —
unitsystem_of
Documentation
Metadata
Release files for unxt-api 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unxt_api-2.0.0.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unxt_api-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / unxt_api-2.0.0.tar.gz
| Download URL | unxt_api-2.0.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
164ae14673bde98c7358fba12e3e94080a26c979c72e2e8ad1298fd1531026fb
|
|
BLAKE2b-256 checksum How to use checksums |
dd054fdcf04277ca3237d19388ee0c4902f5c52061f713316a9a7d0808b30ebe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 24, 2026.
Transparency logRelease files / unxt_api-2.0.0-py3-none-any.whl
| Download URL | unxt_api-2.0.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10e19f7c31b29a8be6e54f266b0dd0bd8c861482ac1f46d0fecaddf5a29be160
|
|
BLAKE2b-256 checksum How to use checksums |
29acb1faf16701501fde6241ab5df42f12a339d069b9d84b607f607d897fd1a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 24, 2026.
Transparency log