Skip to main content

A simple python interface for World Bank Data Indicator and Climate APIs

Project description

Simple World Band Data api interface

Traves CI Code Coverage Code Climate Dependency Status

This is a simple python interface for World Bank Data APIs. The goal of this project is to provide a user with the most basic interface, focused on the ease of use. For a more feature complete API helpers take a look at wbpy and wbdata.

Installation

For basic usage:

pip instal git+git://github.com/zidarsk8/simple_wbd.git

Usage

import simple_wbd
api = simple_wbd.ClimateAPI()
climate = api.get_instrumental("Italy")

climates = api.get_instrumental(["Italy", "Slovenia", "US"])

For development

Install

virtualenv --python=python3 venv3
venv3/bin/activate
git clone git://github.com/zidarsk8/simple_wbd.git
cd simple_wbd
pip install -e .[dev,test]

Run tests

python setup.py test

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

simple_wbd-0.3.1.tar.gz (15.9 kB view details)

Uploaded Source

File details

Details for the file simple_wbd-0.3.1.tar.gz.

File metadata

  • Download URL: simple_wbd-0.3.1.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for simple_wbd-0.3.1.tar.gz
Algorithm Hash digest
SHA256 bb5502153b927a3812c97fec5dde2f0724b90be35e5ea609a1ec8b87e85e0635
MD5 108ab2feb8fafc6116057ff236e06217
BLAKE2b-256 209a2e24ca68d59c3620c2daa5db7360df354353f8b8c458ccc130a61cd8a2d0

See more details on using hashes here.

Supported by

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