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.3.tar.gz (219.8 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.3-py3-none-any.whl (164.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybinny-0.4.3.tar.gz
  • Upload date:
  • Size: 219.8 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.3.tar.gz
Algorithm Hash digest
SHA256 409fac76856deadd08cdb3ba50878a1b35a92aa06359c4337f74ec2f8c71c488
MD5 73a35d03aff289e6194de9c72a7084ab
BLAKE2b-256 a5c8ab6b142246054ddc24612eb754daf81ea77b03e27ee2fec6abba15e6d0ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybinny-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 164.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2cbdde5cdc07b03ec120a3b617c54249af9ae644175fd0d1d84e7e796beec097
MD5 bc4275ae678806d556cacd141683f870
BLAKE2b-256 a7b93ce1f34920d10f531e8383ec71fa87f63a866f3f45b8f1101ee6ff1905d9

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