Convert country names and country codes
Project description
Python countrycode
Convert country names to and from 9 country code schemes.
Bugs & Development: https://github.com/vincentarelbundock/pycountrycode
A Python port of the countrycode package for R:
This is beta software.
Installation
Using pip
sudo pip install countrycode
Latest version from Gitub
git clone https://github.com/vincentarelbundock/pycountrycode cd pycountrycode sudo python setup.py install
Usage
from countrycode import countrycode countrycode(codes=['Algeria', 'United States'], origin='country_name', target='iso3c') > ['DZA', 'USA']
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
countrycode-0.2.tar.gz
(12.5 kB
view details)
File details
Details for the file countrycode-0.2.tar.gz.
File metadata
- Download URL: countrycode-0.2.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95d6514552e26094c59c9bd25a2465ae4c4a3137eab5a6e0cd914a4a81702cc6
|
|
| MD5 |
e05b919db5fd6247270ed6ff6ffaa843
|
|
| BLAKE2b-256 |
73c201f0747ddc98f29144eae1a00edd88392df81ea305d0da8de244944c9a91
|