Self contained UIC 920-14 country definitions
Project description
- Version:
- 0.1.0
UIC 920-14 defines numeric country codes for use in international rail data exchange. python-uic920 is a self contained module that converts between these codes and the corresponding ISO-3166-1 alpha-2 code, allowing for quick cross-referencing. UIC country names are also supplied for reference.
Installation
$ pip install uic920
Usage
>>> from uic920 import countries
>>>
>>> countries.get(70)
Country(name=u'United Kingdom of Great Britain and Northern Ireland', iso='GB', uic='70')
>>> countries.get('es')
Country(name=u'Spain', iso='ES', uic='71')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uic920-0.1.0.tar.gz
(3.4 kB
view details)
File details
Details for the file uic920-0.1.0.tar.gz.
File metadata
- Download URL: uic920-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d596b73dfdbcaeb3efab1c944008474a7000e7de479ee1996263491a85e5277
|
|
| MD5 |
105cffb78d41d1986d3fd55520c1b98d
|
|
| BLAKE2b-256 |
c7fc3ceb2acc3ab5b6ed912f95e639115c5c30bcbc71d824e0a65e308981b0d5
|