Skip to main content

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.

Metadata

Release files for pycountry-un 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 pycountry-un 0.1.1
File Size Uploaded
pycountry-un-0.1.1.tar.gz 10.1 kB Details

Built distribution (wheel)

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

Total release size: 15.8 kB

Release files / pycountry-un-0.1.1.tar.gz

Download URL pycountry-un-0.1.1.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
49aca711064e77093f3413e9073df02343e0a12411393fd106803e51adbe7fea
BLAKE2b-256 checksum
How to use checksums
fec16f69ee9d094bd8763512ed7a93e8433263efbdf1f1f3c45949b754428d45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.23.0

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

Download URL pycountry_un-0.1.1-py2.py3-none-any.whl
Size 5.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
80463be27a2d74bc03dd2219c5af2f7126aa340f25dc9d49c3dd1e50af9d806b
BLAKE2b-256 checksum
How to use checksums
ae77d871a8818378ecbf07ff7efb6fddc669484000678eceae3d3981a099c10f
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