Skip to main content

Flexible tomographic binning algorithms for cosmology.

Project description

binny

CI Deploy Sphinx Documentation codecov License 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.

Project details


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.2.0.tar.gz (183.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.2.0-py3-none-any.whl (126.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybinny-0.2.0.tar.gz
  • Upload date:
  • Size: 183.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","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.2.0.tar.gz
Algorithm Hash digest
SHA256 940d3df506be5285f7f5625ccb20106a9574afcedd0c8c2ca0a1e7e0ea9e9191
MD5 ea982f15f665ccc0976e0f89c3ef6fb9
BLAKE2b-256 256c3eefb16324c79d0f6eaaaf2818db1ee6330fd5aa91e781905f6667fef7ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybinny-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 126.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc4671cbb2b7f959fa61642f64741bf59bcbb34a46fbc22d576dc0ca57511c0a
MD5 b862b9221621a38c1a4e65662b365949
BLAKE2b-256 b3c87762f461538d3b76195e839bcd49aa5a68c2b702719c2d2fc5a450ad0e8d

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