Skip to main content

unxt-api

Note: As of v2.0.0, unxt-api is a backward-compatible shim for unxts.api — the new canonical location for this package. No code changes are required: import unxt_api continues to work exactly as before. New projects should prefer pip install unxts.api and import 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:

  1. Do nothing — unxt-api re-exports the full public API from unxts.api and will be maintained long-term. Existing code requires no changes.

  2. 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.2.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 unxt-api 2.2.0
File Size Uploaded Provenance Actions
unxt_api-2.2.0.tar.gz 6.2 kB With provenance Details for unxt_api-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for unxt-api 2.2.0
File Interpreter ABI Platform Actions
unxt_api-2.2.0-py3-none-any.whl Python 3 none any Details for unxt_api-2.2.0-py3-none-any.whl

Total release size: 9.9 kB

Release files / unxt_api-2.2.0.tar.gz

Download URL unxt_api-2.2.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ca77d7c0cdf95d6407aba0ccb59818da9e8e10014b15bb5df714c8bfc0c19516
BLAKE2b-256 checksum
How to use checksums
098059cbd9eb7cd0e54ecc469fea747b06093fc9c15a765712140e1ecbd7e35e
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 18, 2026.

Transparency log

Release files / unxt_api-2.2.0-py3-none-any.whl

Download URL unxt_api-2.2.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
713d9e3e108c1838c91507331edfded3e9066a6bc61ad6abce70d857b1c7f8da
BLAKE2b-256 checksum
How to use checksums
f30ba3441342c024a0e7e96f26052aec3c4fe662ca38bdd3a2364738efa4170f
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 18, 2026.

Transparency log

Security for unxt-api 2.2.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.

Select from 2 files

Attestation for unxt_api-2.2.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 18, 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