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.6.tar.gz (230.7 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.6-py3-none-any.whl (170.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybinny-0.4.6.tar.gz
  • Upload date:
  • Size: 230.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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.6.tar.gz
Algorithm Hash digest
SHA256 4add3b4071a22316a6ca0e3cb304dc683dab552604da002a70bcfff0681f3e0b
MD5 ae57ede16bb41f5913c20149fd2cb61d
BLAKE2b-256 207a7103a64231364c97a18f8177d0396aabf6b564393c62c1306f06cfeca32f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybinny-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 170.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5fbd8e81b3b3a8d60bcf666d2180d6477cd0b36e4867f897f95bee424ccc0028
MD5 0abc9802da9ab870bf3834b6a7788c36
BLAKE2b-256 e02495d471144ef5ec8de463f793ada36f32628d3b41dcb05be5f45ba583d67b

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