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 and Polen, Rebekah},
  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

and:

MIT License © 2026 Nikolina Šarčević, Matthijs van der Wild, Rebekah Polen, 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.8.tar.gz (235.3 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.8-py3-none-any.whl (173.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybinny-0.4.8.tar.gz
  • Upload date:
  • Size: 235.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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.8.tar.gz
Algorithm Hash digest
SHA256 3ec6eb4f190b179148c425066109b7eac72de458e358b8228f38df30d74ec6e5
MD5 a2285dd8a97132d651566b819cc4a776
BLAKE2b-256 76d2e2d38df5b1770869b41e6d3ce698eac5fe38c811cd653447b1cb9320786d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybinny-0.4.8-py3-none-any.whl
  • Upload date:
  • Size: 173.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b0ed1b6d77fadc4930d7b600d9723be34b59d10b584f817eaf1cc89a1b36ccad
MD5 0aae7512c299e6414171fb563ab1c4ac
BLAKE2b-256 2da6324b97e08e350264ce82cadf2c4974d97069f81d8ea80d60422bf1ba4ca2

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