Lightcone I/O for SWIFT
This is a python module for reading lightcone output from SWIFT simulations.
The source code and issue tracker are hosted on github: https://github.com/jchelly/LightconeIO
Releases are hosted on pypi: https://pypi.org/project/lightcone-io/
For documentation see: https://lightconeio.readthedocs.io/en/latest/
Installation
For read-only use without MPI support, the module can be installed using pip:
pip install lightcone_io
Building the documentation
The documentation is built using sphinx:
pip install sphinx sphinx-rtd-theme sphinx-autodoc-typehints
cd docs
make html
Running unit tests
There are some unit tests which can be run with just
pytest
in the source directory. This will test the classes for reading local
HDF5 files containing HEALPix map, particle and halo lightcone
data. These tests use downsampled lightcone outputs which are stored
in the git repository in tests/data.
To also test access to remote files:
pytest --hdfstream-server=<server_url>
Release files for lightcone-io 0.10.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 | |
|---|---|---|---|
| lightcone_io-0.10.0.tar.gz | 1.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lightcone_io-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.7 MB
Release files / lightcone_io-0.10.0.tar.gz
| Download URL | lightcone_io-0.10.0.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
376b4fb14a7ca7a65672c54ad571e34225ecb629ead66d0f3b71296bc86fb901
|
|
BLAKE2b-256 checksum How to use checksums |
7666f161f84098ced20008389deda7eaae78d43a919c51c7d0d65c59edfa3fa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 21, 2026.
Transparency logRelease files / lightcone_io-0.10.0-py3-none-any.whl
| Download URL | lightcone_io-0.10.0-py3-none-any.whl |
|---|---|
| Size | 86.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d80c8859fd35fc9cf9957dfb326b4e44b55d0d850b2f9c2c9f873b5391b46667
|
|
BLAKE2b-256 checksum How to use checksums |
eb03ea67e61ae6c05ab72164ce60936244de1f19b6fbbbf8253d136618008d38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 21, 2026.
Transparency log