binny is a Python library for constructing and analyzing
tomographic redshift bins used in cosmology and large-scale structure analyses.
It provides flexible binning algorithms, validation utilities, and diagnostic tools for forecasting, inference pipelines, and survey analysis workflows.
git clone https://github.com/binny-org/binny.git
cd binny
python -m pip install -e .python -m pip install -e ".[dev]"If you use binny in your research, please cite it.
@software{sarcevic2026binny,
title = {binny: Flexible binning algorithms for cosmology},
author = {Šarčević, Nikolina and van der Wild, Matthijs},
year = {2026},
url = {https://github.com/binny-org/binny}
}Citation metadata is also available in CITATION.cff, which GitHub uses to generate citation formats automatically.
Contributions are very welcome. See the Contributing guide in the documentation for development workflow, testing, and code style guidelines.
MIT License © 2026 Nikolina Šarčević, Matthijs van der Wild and contributors.
