A Python Package to calculate indexes related to poverty and inequality.
Project description
POVERTY
A Python Package to calculate indexes related to poverty and inequality.
Who is this for?
For anybody who want to calculate indexes related to poverty and inequality using a python package.
Installing
You can install poverty package using pip:
$ pip install poverty
Implemented Features
Headcount Index
Poverty Index
Squared Poverty Index
Sen Index
Sen-Shorrocks-Thon Index
Watts Index
Gini Coefficient
Lorenz Curve
Commands
>>> import poverty as pt>>> poverty_line=125>>> expenditure=[100,110,150,160]>>> pt.calc_head(expenditure,poverty_line)>>> pt.pov_index(expenditure,poverty_line)>>> pt.squared_pov_index(expenditure,poverty_line)>>> pt.sen_index(expenditure,poverty_line)>>> pt.sst_index(expenditure,poverty_line)>>> pt.watts_index(expenditure,poverty_line)>>> pt.gini(expenditure)>>> pt.draw_lorenz(expenditure)
Contributor
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poverty-7.2.tar.gz.
File metadata
- Download URL: poverty-7.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26311fd5d22085bdb2f32c2c90d4075576d259c7224434625cbf9dbcc1cd4a84
|
|
| MD5 |
da783931461d259bf0d771fc425e082b
|
|
| BLAKE2b-256 |
0a3152b87746fd970482e3ee19bb64bf49888745ceddb10b3bd6f42538dd89df
|
File details
Details for the file poverty-7.2-py2.py3-none-any.whl.
File metadata
- Download URL: poverty-7.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3d383711e15f40414b0ae0b5d98f5a8319e3b45105db20fb9a266759704c07d
|
|
| MD5 |
dc627c7afb562c40572d30cb33bf6bcc
|
|
| BLAKE2b-256 |
c5cae0b264a944c4d90ce0434f0da7a63277d6d6dd00a936443a76c33b2ba577
|