Metadata-Version: 2.4
Name: fast-poibin
Version: 0.4.3
Summary: Package for computing PMF and CDF of Poisson binomial distribution.
Author: Hugo Sansaqua
Author-email: Hugo Sansaqua <privet.kitty99@gmail.com>
License-Expression: MPL-2.0
License-File: LICENSE
Requires-Dist: numba>=0.57
Requires-Dist: numba>=0.59 ; python_full_version >= '3.12'
Requires-Dist: numba>=0.61 ; python_full_version >= '3.13'
Requires-Dist: numba>=0.63 ; python_full_version >= '3.14'
Requires-Dist: numpy>=1.23
Requires-Python: >=3.10
Project-URL: Repository, https://github.com/privet-kitty/fast-poibin
Project-URL: Documentation, https://privet-kitty.github.io/fast-poibin/
Description-Content-Type: text/markdown

# fast-poibin

[![Build Status](https://github.com/privet-kitty/fast-poibin/workflows/CI/badge.svg)](https://github.com/privet-kitty/fast-poibin/actions)
[![Coverage Status](https://coveralls.io/repos/github/privet-kitty/fast-poibin/badge.svg?branch=main)](https://coveralls.io/github/privet-kitty/fast-poibin?branch=main)
[![PyPI Version](https://img.shields.io/pypi/v/fast-poibin)](https://pypi.org/project/fast-poibin/)

fast-poibin is a Python package for efficiently computing PMF or CDF of Poisson binomial distribution.

- API Reference: https://privet-kitty.github.io/fast-poibin/
- Repository: https://github.com/privet-kitty/fast-poibin/

## Installation

```bash
pip install fast-poibin
```

Python versions 3.10 or later are supported.

## Basic Usage

```python
>>> from fast_poibin import PoiBin
>>> poibin = PoiBin([0.1, 0.2, 0.2])
>>> poibin.pmf
array([0.576, 0.352, 0.068, 0.004])
>>> poibin.cdf
array([0.576, 0.928, 0.996, 1.   ])
```

## Copyright

Copyright (c) 2023-2025 Hugo Sansaqua.
