gala integration for unxt (canonical: unxts.interop.gala)
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unxts_interop_gala-2.0.0.tar.gz.
File metadata
- Download URL: unxts_interop_gala-2.0.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08521ed686b3452c6e6016e068f9a0ac9cf4f3a77573edc89baa79c5098ff31e
|
|
| MD5 |
489fbba27fd174f8649f116bfc807902
|
|
| BLAKE2b-256 |
c386a1b4b2adbef5525064519669c004b2bc06566656e22717785a8c104028b1
|
Provenance
The following attestation bundles were made for unxts_interop_gala-2.0.0.tar.gz:
Publisher:
cd-publish-unxts-interop-gala.yml on GalacticDynamics/unxt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unxts_interop_gala-2.0.0.tar.gz -
Subject digest:
08521ed686b3452c6e6016e068f9a0ac9cf4f3a77573edc89baa79c5098ff31e - Sigstore transparency entry: 2236741698
- Sigstore integration time:
-
Permalink:
GalacticDynamics/unxt@26f8c18bde22a8f54aeb59bfb9382ce43a8e27d1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/GalacticDynamics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd-publish-unxts-interop-gala.yml@26f8c18bde22a8f54aeb59bfb9382ce43a8e27d1 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file unxts_interop_gala-2.0.0-py3-none-any.whl.
File metadata
- Download URL: unxts_interop_gala-2.0.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3dea23ff7af1291343dfc332e4b01b9c27113cfd7294a01af51b31b0aca96fa
|
|
| MD5 |
018c3e2c83663ff6e78a350d9462ea72
|
|
| BLAKE2b-256 |
59421995340145fb9e19eda6135f77a83e5c435650401547fd6e50d0eee40055
|
Provenance
The following attestation bundles were made for unxts_interop_gala-2.0.0-py3-none-any.whl:
Publisher:
cd-publish-unxts-interop-gala.yml on GalacticDynamics/unxt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unxts_interop_gala-2.0.0-py3-none-any.whl -
Subject digest:
a3dea23ff7af1291343dfc332e4b01b9c27113cfd7294a01af51b31b0aca96fa - Sigstore transparency entry: 2236742534
- Sigstore integration time:
-
Permalink:
GalacticDynamics/unxt@26f8c18bde22a8f54aeb59bfb9382ce43a8e27d1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/GalacticDynamics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd-publish-unxts-interop-gala.yml@26f8c18bde22a8f54aeb59bfb9382ce43a8e27d1 -
Trigger Event:
workflow_run
-
Statement type: