Skip to main content

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

Ronak Sisodia

Release files for poverty 7.2

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

Source distribution (sdist)

Source distribution for poverty 7.2
File Size Uploaded
poverty-7.2.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poverty 7.2
File Interpreter ABI Platform
poverty-7.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size:10.7 kB

Release files / poverty-7.2.tar.gz

Download URL poverty-7.2.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
26311fd5d22085bdb2f32c2c90d4075576d259c7224434625cbf9dbcc1cd4a84
BLAKE2b-256 checksum
How to use checksums
0a3152b87746fd970482e3ee19bb64bf49888745ceddb10b3bd6f42538dd89df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / poverty-7.2-py2.py3-none-any.whl

Download URL poverty-7.2-py2.py3-none-any.whl
Size 5.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a3d383711e15f40414b0ae0b5d98f5a8319e3b45105db20fb9a266759704c07d
BLAKE2b-256 checksum
How to use checksums
c5cae0b264a944c4d90ce0434f0da7a63277d6d6dd00a936443a76c33b2ba577
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

7.2 This release

2 release files

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