Skip to main content

binny

CI Docs License PyPI Documentation

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.


Installation

Install from PyPI

pip install pybinny

Install from source

git clone https://github.com/binny-org/binny.git
cd binny
python -m pip install -e .

Development install

python -m pip install -e ".[dev]"

Citation

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.


Contributing

Contributions are very welcome. See the Contributing guide in the documentation for development workflow, testing, and code style guidelines.


License

MIT License © 2026 Nikolina Šarčević, Matthijs van der Wild and contributors.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybinny-0.4.2.tar.gz (218.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybinny-0.4.2-py3-none-any.whl (163.1 kB view details)

Uploaded Python 3

File details

Details for the file pybinny-0.4.2.tar.gz.

File metadata

  • Download URL: pybinny-0.4.2.tar.gz
  • Upload date:
  • Size: 218.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pybinny-0.4.2.tar.gz
Algorithm Hash digest
SHA256 be0e9d13dd009e41bce5500afe5f508dd4848a004b722058965fa2edd59571d1
MD5 36dc23b8d9e7c1879910fad28c2be782
BLAKE2b-256 ea8311e63f9f5702d5f0e308d3048123fad0cecb10e5caaa367a6a96c969998d

See more details on using hashes here.

File details

Details for the file pybinny-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: pybinny-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 163.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pybinny-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2da93cd5e1567afb4043dca91b7c58cc4c2ab63a8279d2c77c9a47fa2fa070c4
MD5 f4ba9ffddd158ec3e3699365c99ad8c3
BLAKE2b-256 53fe8184093c284686c2bc70d2cf1b339272e48f6c59a9ac5e8845c6c178f47c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page