Poverty and Inequality Analysis in Python
Project description
Apode
Apode is a package that contains a set of indicators that are applied in economic analysis. It contains measures of poverty, inequality, polarization, welfare and concentration.
Requirements
You need Python 3.8 to run Apode.
Code Repository & Issues
https://github.com/ngrion/apode
Basic Install
Execute
$ pip install apode
Development Install
Clone this repo and install with pip
$ git clone https://github.com/ngrion/apode.git
$ cd pycf3
$ pip install -e .
Features
Objects are created using:
>>> ad = ApodeData(DataFrame, income_column)
Where income_column is the name of the desired analysis column in the dataframe.
Methods that calculate indicators:
>>> ad.poverty(method,*args)
>>> ad.ineq(method,*args)
>>> ad.welfare(method,*args)
>>> ad.polarization(method,*args)
>>> ad.concentration(method,*args)
Graphical representations:
>>> ad.plot.hist()
>>> ad.plot.tip(**kwargs)
>>> ad.plot.lorenz(**kwargs)
>>> ad.plot.pen(**kwargs)
For examples on how to use apode, please refer to the Tutorial.
Contributors
Thanks to the following people who have contributed to this project:
Support
If you want to contact me you can reach me at ngrion@gmail.com. If you have issues please report them as a issue here.
License
Distributed under the MIT License. See LICENSE for more information.
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
File details
Details for the file apode-0.1.0.tar.gz
.
File metadata
- Download URL: apode-0.1.0.tar.gz
- Upload date:
- Size: 121.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b07aee9504c2a196331c6a2972cd006201b67204192dc5363eed31ed772da8b |
|
MD5 | 930bf48530ea8b217b5205b2a7299679 |
|
BLAKE2b-256 | 754226ea97ebede6cbac232ce68e0756f9634db679a3b722df02ae7de19ac059 |