apportionpy-0.3.1
توضیحات
A Python package for apportionment.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | apportionpy-0.3.1 |
| نام | apportionpy |
| نسخه کتابخانه | 0.3.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Brandon Rorie |
| ایمیل نویسنده | ticer1999@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/apportionpy/ |
| مجوز | - |
A package that allows users to apportion seats to states based on population figures.
This apportionment package calculates results for the following methods:
- Hamilton's method
- Jefferson's method
- Adam's method
- Webster's method
- Huntington Hill's method
- Method of equal proportions
Hamilton's method calculations:
- fair shares
- initial fair shares
- initial quotas
- final quotas
- initial divisor
- modified divisor
Jefferson's method calculations:
- fair shares
- initial fair shares
- initial quotas
- final quotas
- initial divisor
- modified divisor
- divisor history
Adam's method calculations:
- fair shares
- initial fair shares
- initial quotas
- final quotas
- initial divisor
- modified divisor
- divisor history
Webster's method calculations:
- fair shares
- initial fair shares
- initial quotas
- final quotas
- initial divisor
- modified divisor
- divisor history
Huntington Hill's method calculations:
- fair shares
- initial fair shares
- initial quotas
- final quotas
- initial geometric means
- final geometric means
- initial divisor
- modified divisor
Method of equal proportions calculations:
- fair shares
Experimental features:
- estimate the lowest possible divisor possible
- estimate the highest possible divisor possible
نحوه نصب
نصب پکیج whl apportionpy-0.3.1:
pip install apportionpy-0.3.1.whl
نصب پکیج tar.gz apportionpy-0.3.1:
pip install apportionpy-0.3.1.tar.gz