Skip to main content

Mundi demography plugin. Exposes demographic information about all countries in the world and a few functions to transform age distributions and other demographic parameters.

Usage

Install it using pip install mundi-demography or your method of choice. Now, you can just import it and load the desired information. Mundi exposes collections of entries as dataframes, which can be manipulated as usual

>>> import mundi, mundi_demography
>>> db = mundi.countries()
>>> db.mundi["population"]  # DOCTEST: +ELLIPSIS
    population
id
AD         NaN
AE   9892000.0
AF  38927000.0
AG     99000.0
AI         NaN
...
>>> db.mundi["age_distribution"]  # DOCTEST: +ELLIPSIS
          0          5          10   ...     90      95   100
id                                   ...
AD        NaN        NaN        NaN  ...     NaN     NaN  NaN
AE   499000.0   513000.0   453000.0  ...  1000.0     0.0  0.0
AF  5673000.0  5416000.0  5192000.0  ...  5000.0  1000.0  0.0
AG     7000.0     7000.0     7000.0  ...     0.0     0.0  0.0
AI        NaN        NaN        NaN  ...     NaN     NaN  NaN
...

Release files for mundi-demography 0.1.1

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

Source distribution (sdist)

Source distribution for mundi-demography 0.1.1
File Size Uploaded
mundi-demography-0.1.1.tar.gz 23.1 MB Details

Built distribution (wheel)

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

Total release size: 23.9 MB

Release files / mundi-demography-0.1.1.tar.gz

Download URL mundi-demography-0.1.1.tar.gz
Size 23.1 MB
Tags Source
SHA-256 checksum
How to use checksums
46031aad5d187e0245371ce28d787981fb922a10a02d9a3f940898ac56e9dea7
BLAKE2b-256 checksum
How to use checksums
2bd8a658c6961ecebf0d0fd693a9d11a84f2f41998a5236c78e8f80594dbf229
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.23.0

Release files / mundi_demography-0.1.1-py2.py3-none-any.whl

Download URL mundi_demography-0.1.1-py2.py3-none-any.whl
Size 868.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a842327e1c10a4a4cff91028a3226b0da68756781e9f56de66ecaf9c3db97ab4
BLAKE2b-256 checksum
How to use checksums
4541e296358cdd42107fb24bb71b57aaf3972f8681444d1677556f9d88474876
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.23.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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