GLASS: Generator for Large Scale Structure
This is the core library for GLASS, the Generator for Large Scale Structure. For more information, see the full documentation. There are a number of examples to get you started.
Installation
Releases of the code can be installed with pip:
pip install glass
or conda:
conda install -c conda-forge glass
If you are interested in the latest version of the code, you can pip-install this repository:
pip install git+https://github.com/glass-dev/glass.git
Citation
If you use GLASS simulations or the GLASS library in your research, please cite the original GLASS paper in your publications.
@ARTICLE{2023OJAp....6E..11T,
author = {{Tessore}, Nicolas and {Loureiro}, Arthur and {Joachimi}, Benjamin and {von Wietersheim-Kramsta}, Maximilian and {Jeffrey}, Niall},
title = "{GLASS: Generator for Large Scale Structure}",
journal = {The Open Journal of Astrophysics},
keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics},
year = 2023,
month = mar,
volume = {6},
eid = {11},
pages = {11},
doi = {10.21105/astro.2302.01942},
archivePrefix = {arXiv},
eprint = {2302.01942},
primaryClass = {astro-ph.CO},
adsurl = {https://ui.adsabs.harvard.edu/abs/2023OJAp....6E..11T},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
Getting in touch
The best way to get help about the code is currently to get in touch.
If you would like to start a discussion with the wider GLASS community about e.g. a design decision or API change, you can use our Discussions page.
We also have a public Slack workspace for discussions about the project.
Contributors
This project follows the all-contributors specification. Contributions of any kind are welcome!
Click here to see a full list of our contributors' profiles.
Metadata
Release files for glass 2026.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| glass-2026.4.tar.gz | 70.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| glass-2026.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 138.2 kB
Release files / glass-2026.4.tar.gz
| Download URL | glass-2026.4.tar.gz |
|---|---|
| Size | 70.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6247b4ea56b325bde8630d957157fd20f6039ddfc96ebd7cab519dba7fe1c448
|
|
BLAKE2b-256 checksum How to use checksums |
e8a80c5f7b87439a77aa6c9c603e03d717833162fcb6337b28012f994bff25c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 21, 2026.
Transparency logRelease files / glass-2026.4-py3-none-any.whl
| Download URL | glass-2026.4-py3-none-any.whl |
|---|---|
| Size | 67.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b8f5d2f2367064e70ad6975c051e9d32013c1974871bb0a8474ed92f0830182
|
|
BLAKE2b-256 checksum How to use checksums |
e57ee026b330050c647d174393ffb9d0765243a1ae038c2c0e28971941d06fd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 21, 2026.
Transparency log