unxts.interop.gala
This is the canonical package (unxts.interop.gala). It provides conversions between gala.units.UnitSystem and unxt.unitsystems.AbstractUnitSystem.
Install
pip install unxts.interop.gala
Usage
import unxts.interop.gala
Public API
unxts.interop.gala exposes two conversion functions:
convert_gala_unitsystem_to_unxt_unitsystemconvert_unxt_unitsystem_to_gala_unitsystem
These are plum.conversion_methods, registered with plum's dispatch table as a side effect of importing unxts.interop.gala. Prefer plum.convert(usys, ...) over calling either function directly, e.g.:
from plum import convert
import unxt as u
import gala.units as gu
convert(gu.galactic, u.AbstractUnitSystem)
convert(u.unitsystem("galactic"), gu.UnitSystem)
Metadata
Release files for unxts.interop.gala 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 | |
|---|---|---|---|
| unxts_interop_gala-2.0.0.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unxts_interop_gala-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / unxts_interop_gala-2.0.0.tar.gz
| Download URL | unxts_interop_gala-2.0.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08521ed686b3452c6e6016e068f9a0ac9cf4f3a77573edc89baa79c5098ff31e
|
|
BLAKE2b-256 checksum How to use checksums |
c386a1b4b2adbef5525064519669c004b2bc06566656e22717785a8c104028b1
|
| 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 / unxts_interop_gala-2.0.0-py3-none-any.whl
| Download URL | unxts_interop_gala-2.0.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3dea23ff7af1291343dfc332e4b01b9c27113cfd7294a01af51b31b0aca96fa
|
|
BLAKE2b-256 checksum How to use checksums |
59421995340145fb9e19eda6135f77a83e5c435650401547fd6e50d0eee40055
|
| 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