Skip to main content

A package to import data

Project description

PyPI PyPI - Python Version Documentation Status codecov Code style: black

bblocks_data_importers

A package to import data from major humanitarian, development and financial institutions.

Installation

$ pip install bblocks_data_importers

Example Usage

Import the package and use the various importer objects to access data from different sources.

import bblocks_data_importers as bbdata

To access data from the IMF's World Economic Outlook use a WEO object:

weo = bbdata.WEO() # Create a WEO object
df = weo.get_data() # Get the data as a pandas DataFrame

Available importers include:

  • WEO to access the IMF's World Economic Outlook
  • GHED to access WHO's Global Health Expenditure Database
  • WFPFoodSecurity and WFPInflation to access the World Food Programme's Food Security and Inflation data
  • WorldBank to access the World Bank data
  • InternationalDebtStatistics to access the World Bank's International Debt Statistics
  • HumanDevelopmentIndex to access the UNDP's Human Development Index

Read the documentation for more details on each importer here

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

bblocks_data_importers was created by The ONE Campaign. It is licensed under the terms of the MIT license.

Credits

This package is maintained by Luca Picci and Jorge Rivera

bblocks_data_importers was created with cookiecutter and the py-pkgs-cookiecutter template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bblocks_data_importers-0.3.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bblocks_data_importers-0.3.0-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file bblocks_data_importers-0.3.0.tar.gz.

File metadata

  • Download URL: bblocks_data_importers-0.3.0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bblocks_data_importers-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9b338bfcae8fa20ab121dafac714bb52741d0ebb9291c7430e555970b9db4100
MD5 42a6fa959644c0d5eac8720ce964b108
BLAKE2b-256 d64c7434fd780a8548649020bb2653ab786c9a8bc67bacf63e4ac2307fd2aea3

See more details on using hashes here.

File details

Details for the file bblocks_data_importers-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bblocks_data_importers-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 989b864a6428d7fa74575ce150df72b1629d898a5f2827d778ce770a2d477f11
MD5 bc0f3f1552504b7e85d0a87a4604ff98
BLAKE2b-256 176c5aa700b7750708a15f54a254cfd5308e780c6139bc35f72d14b8996663c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page