Skip to main content

binny

CI Docs License PyPI Documentation

Anaconda-Server Badge

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 Conda Forge

conda install --channel conda-forge 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

Binny is distributed under the MIT License.

Copyright © 2026 Nikolina Šarčević, Matthijs van der Wild, Rebekah Polen, and contributors.

See LICENSE for details.

Metadata

Release files for pybinny 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pybinny 2.0.0
File Size Uploaded Provenance Actions
pybinny-2.0.0.tar.gz 296.8 kB Without provenance Details for pybinny-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pybinny 2.0.0
File Interpreter ABI Platform Actions
pybinny-2.0.0-py3-none-any.whl Python 3 none any Details for pybinny-2.0.0-py3-none-any.whl

Total release size: 500.1 kB

Release files / pybinny-2.0.0.tar.gz

Download URL pybinny-2.0.0.tar.gz
Size 296.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b4ada45d0e76edd1dd89bb8c7b84309f5170ac9340b76b673c587bb16bd696fc
BLAKE2b-256 checksum
How to use checksums
caffd7b302522a6831b05bf58e8a1a8920d2084ce63aa03d606f409af8cfa7e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pybinny-2.0.0-py3-none-any.whl

Download URL pybinny-2.0.0-py3-none-any.whl
Size 203.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e3638afee598b153d96fa63e6d9b4038aae7fe665d81392d1994b98dbfc94d9
BLAKE2b-256 checksum
How to use checksums
28595b6161eb9c7c3bd28d1c38f5f30ed16663542662774a97ab0ed2bff7740d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pybinny 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page