define codes for the names of countries as a enum it supports python2.7, 3.3 with enum34 of course support python3.4 as well.
>>> from iso3166 import Country
>>> Country.kr
<Country.kr>
>>> Country.kr.alpha2
KR
>>> Country.kr.alpha3
KOR
>>> Country.kr.numeric
410
>>> Country.kr.english_short_name
Written by Kang Hyojun. Distributed under Public Domain.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iso-3166-1-0.0.3.tar.gz
(6.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iso-3166-1-0.0.3.tar.gz.
File metadata
- Download URL: iso-3166-1-0.0.3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62089b1c823f271db89235010a2efa8bb3a486e2874efce77c4c328a2328965b
|
|
| MD5 |
ea97180f57f49faf1accd2413adf2674
|
|
| BLAKE2b-256 |
dc2b4933fe261ad60f885830bae92090b4f4ecd83f1f4d6dd87992eed1bcee75
|
File details
Details for the file iso_3166_1-0.0.3-py2.py3-none-any.whl.
File metadata
- Download URL: iso_3166_1-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a1a59e36e1851a38daac54924103ecec2c303fcf0b655e472616af7db514dc7
|
|
| MD5 |
d6e5fb5438f58e6fdc90ec4b4c71253e
|
|
| BLAKE2b-256 |
62b945cbe8f10e97be613e0514fa3a13ec881829343d073e8847bc272df29f66
|