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.0.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.0.0
File Size Uploaded
unxt_api-2.0.0.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for unxt-api 2.0.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.11.0

2 release files

1.10.1

2 release files

1.10.0

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.3

2 release files

1.8.2

2 release files

1.8.1

2 release files

1.8.0

2 release files

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