GUSTEAU-Translate
Demo translation software for Project GUSTEAU
View the documentation at https://gusteau-translate.readthedocs.io.
See the GUSTEAU specification at https://gusteau-spec.readthedocs.io.
Supported by the National Science Foundation through Award 2513426.
Requirements
is required.
Python versions outside this range may work, but their usage is not supported, and at least some features are >Python 3.13.
Python packages
numpy- required for core routinesh5py- required for reading and saving snapshot dataswiftsimio- required for cosmological unit conversiontomlkit- required for reading toml-based style filesruamel-yaml- required for reading yaml-based style filespydantic- required for validating translationsnatsort- required for correctly handling multipart filespackingcubes- required for sorting the data and generating the packingcubes structure. Note thatpackingcubesis lazily imported in python 3.15+, so while it is not yet an optional package, it will be in the future.
Example Usage
GUSTEAU-Translate has a CLI via the alchemize command1:
alchemize -t style INPUT OUTPUT
which will translate the INPUT HDF5 snapshot using the specified style(see below), saving a GUSTEAU formatted snapshot to OUTPUT.
The output file will be then validated against the GUSTEAU specification.
You can optionally skip the validation or translation steps by passing --to/--translate-only or --vo/--validate-only, if, e.g., you are testing GUSTEAU creation directly.
NOTE: Multipart input files that do not use virtual datasets should be specified via a psuedo-glob pattern. For example, if you have
snapshot_XXX.0.hdf5,snapshot_XXX.1.hdf5, etc., you would specify the input file assnapshot_XXX(notice no .0, .hdf5).Mulitpart output files can be specified via the
--num-partfilesoption, which will produce$num_partfiles + 1outputs. The output files will look likeoutput.hdf5,output.0.hdf5,output.1.hdf5, etc.output.hdf5will contain virtual datasets comprised of the datasets in the partfiles.
As always, you can specify --help to get the available options.
Including packingcubes
You can additionally run the packingcubes software as part of the translation pipeline via -p/--packingcubes.
This will spatially sort the data (currently all particle groups listed in /Header.ParticleNames in the output file) and save the ParticleCubes/PackedTree information at the same time it translates it.
This adds a little bit of time to the startup (for the initial cubing) and will use more memory while running. The contribution to the final snapshot size should be pretty minimal though; an EAGLE snapshot was actually smaller in GUSTEAU format.
Available Styles
The current available styles are
swift-eagle- for converting SWIFT-style snapshots2illustrisTNG- for converting IllustrisTNG-style snapshots
Metadata
Release files for gusteau-translate 0.1.2
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 |
|---|---|---|---|---|
| gusteau_translate-0.1.2.tar.gz | 125.4 kB | With provenance | Details for gusteau_translate-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gusteau_translate-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for gusteau_translate-0.1.2-py3-none-any.whl |
Total release size: 219.9 kB
Release files / gusteau_translate-0.1.2.tar.gz
| Download URL | gusteau_translate-0.1.2.tar.gz |
|---|---|
| Size | 125.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b155ce44b0e87fff00822ebb54fbf13f818741c12832f32656705728355204f2
|
|
BLAKE2b-256 checksum How to use checksums |
f1854175c4c4b56a717b51541cd103a1d613659895c802320d73635f81069bcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 17, 2026.
Transparency logRelease files / gusteau_translate-0.1.2-py3-none-any.whl
| Download URL | gusteau_translate-0.1.2-py3-none-any.whl |
|---|---|
| Size | 94.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df438fcc21f37c26c97462a0b40b4f521b194abf5478abff8de65009a7b0e92d
|
|
BLAKE2b-256 checksum How to use checksums |
2339cad3bb0b9fc4f5f50068ae0b4ce4a70a58792eeee444940630739ed5badc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 17, 2026.
Transparency logSecurity for gusteau-translate 0.1.2
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 gusteau_translate-0.1.2.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 17, 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.