# fast-poibin
[](https://github.com/privet-kitty/fast-poibin/actions)
[](https://coveralls.io/github/privet-kitty/fast-poibin?branch=main)
[](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.8 to 3.11 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 Hugo Sansaqua.
Raw data
{
"_id": null,
"home_page": "https://github.com/privet-kitty/fast-poibin",
"name": "fast-poibin",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Hugo Sansaqua",
"author_email": "privet.kitty99@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c4/46/7ed5d34736b53fd349e25578c5ea84c8fd6eeb202282e250341f99a15b3a/fast_poibin-0.3.2.tar.gz",
"platform": null,
"description": "# fast-poibin\n\n[](https://github.com/privet-kitty/fast-poibin/actions)\n[](https://coveralls.io/github/privet-kitty/fast-poibin?branch=main)\n[](https://pypi.org/project/fast-poibin/)\n\n\nfast-poibin is a Python package for efficiently computing PMF or CDF of Poisson binomial distribution.\n\n\n- API Reference: https://privet-kitty.github.io/fast-poibin/\n- Repository: https://github.com/privet-kitty/fast-poibin/\n\n\n## Installation\n\n\n```bash\npip install fast-poibin\n```\n\nPython versions 3.8 to 3.11 are supported.\n\n## Basic Usage\n\n\n```python\n>>> from fast_poibin import PoiBin\n>>> poibin = PoiBin([0.1, 0.2, 0.2])\n>>> poibin.pmf\narray([0.576, 0.352, 0.068, 0.004])\n>>> poibin.cdf\narray([0.576, 0.928, 0.996, 1. ])\n```\n\n\n\n\n## Copyright\n\nCopyright (c) 2023 Hugo Sansaqua.\n",
"bugtrack_url": null,
"license": "MPL-2.0",
"summary": "Package for computing PMF and CDF of Poisson binomial distribution.",
"version": "0.3.2",
"project_urls": {
"Documentation": "https://privet-kitty.github.io/fast-poibin/",
"Homepage": "https://github.com/privet-kitty/fast-poibin",
"Repository": "https://github.com/privet-kitty/fast-poibin"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "88869412c82c30bff31ef53a009c240720130dbc501d69a6e698d6488f1e06e9",
"md5": "d165bea5c2f3ca5887a4ef16113b9442",
"sha256": "741e99ed3902fb43a613b0c7341b048b54224058ccd3ad55614df3985fd75ee1"
},
"downloads": -1,
"filename": "fast_poibin-0.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d165bea5c2f3ca5887a4ef16113b9442",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 12670,
"upload_time": "2023-10-28T07:08:45",
"upload_time_iso_8601": "2023-10-28T07:08:45.619061Z",
"url": "https://files.pythonhosted.org/packages/88/86/9412c82c30bff31ef53a009c240720130dbc501d69a6e698d6488f1e06e9/fast_poibin-0.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c4467ed5d34736b53fd349e25578c5ea84c8fd6eeb202282e250341f99a15b3a",
"md5": "e6865152a5a5c1aba0232059e9a577ef",
"sha256": "b473382c2764ce6bbb263c2b5382c864634757ca9297f16a1949dc9b791fdef5"
},
"downloads": -1,
"filename": "fast_poibin-0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "e6865152a5a5c1aba0232059e9a577ef",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 11157,
"upload_time": "2023-10-28T07:08:47",
"upload_time_iso_8601": "2023-10-28T07:08:47.392477Z",
"url": "https://files.pythonhosted.org/packages/c4/46/7ed5d34736b53fd349e25578c5ea84c8fd6eeb202282e250341f99a15b3a/fast_poibin-0.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-28 07:08:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "privet-kitty",
"github_project": "fast-poibin",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "fast-poibin"
}