Skip to main content

Provide lists in the United Nation's World Economic Situation and Prospects

Project description

A simple package that provides lists of countries in the United Nation’s World Economic Situation and Prospects as sequences of Pycountry elements.

Usage

First, you need to install it using pip install pycountry-un or your method of choice. Secondly, just import it and load the lists

>>> import pycountry_un as un
>>> un.upper_middle_income_countries.lookup("Brazil")
Country(alpha_2='BR', alpha_3='BRA', name='Brazil', numeric='076', official_name='Federative Republic of Brazil')

Observation

If you disagree with any of these classifications, address you concerns to the United Nations. This package only accepts changes to reflect the most current understanding published on the official UN’s World Economic Situation and Prospects. Patches will only be accepted concerning discrepancies with that publication.

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

pycountry-un-0.1.1.tar.gz (10.1 kB view hashes)

Uploaded Source

Built Distribution

pycountry_un-0.1.1-py2.py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 2 Python 3

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