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.1.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 | Provenance | Actions |
|---|---|---|---|---|
| unxt_api-2.1.0.tar.gz | 6.2 kB | With provenance | Details for unxt_api-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unxt_api-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for unxt_api-2.1.0-py3-none-any.whl |
Total release size: 9.9 kB
Release files / unxt_api-2.1.0.tar.gz
| Download URL | unxt_api-2.1.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b129dc61f5920decdb523ac7bb41cc929c90c782d6193a1dd97d1978dc0297f
|
|
BLAKE2b-256 checksum How to use checksums |
4a5139c6e33dc15ff00a71c373595a2652774ba97ec037db01cf57216a7731a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 13, 2026.
Transparency logRelease files / unxt_api-2.1.0-py3-none-any.whl
| Download URL | unxt_api-2.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
261f1bc7b542bf674a452610e2b2b265beb11568af8668be59bf4b0dfdcd4958
|
|
BLAKE2b-256 checksum How to use checksums |
f188ca9ba07e98f35dcc36d632ac72ab77a906d348bfb636cbebe5fb2f914afc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 13, 2026.
Transparency logSecurity for unxt-api 2.1.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
Both files in this release have been uploaded with provenance metadata.
Attestation for unxt_api-2.1.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 13, 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.