International Vehicle Registration Codes to ISO3166 3-letter Country code converter
Standalone license plate country code converter. Based on a International Vehicle Registration Code, i.e., 'D' for Germany, it will return 'DEU' as 3-letter ISO3166-1 alpha-3 code.
You may want to use ISO166 Python lib to get the Country's name or numeric code.
Installation
$ pip install ivrc2country
Usage
>>> import ivrc2country
>>> ivrc2country.ivrcodes.get('D')
IVRCode(ivrc='D', iso3166='DEU')
>>> ivrc2country.ivrc_by_iso3166.get('DEU')
IVRCode(ivrc='D', iso3166='DEU')
Get political name of the issuing country
>>> import ivrc2country
>>> import iso3166
>>> r = ivrc2country.ivrcodes.get('D')
>>> iso3166.countries_by_alpha3.get(r.iso3166)
Country(name='Germany', alpha2='DE', alpha3='DEU', numeric='276', apolitical_name='Germany')
Keywords
- Länderkennzeichen nach ISO3166-1 Ländercode Konverter
- Autokennzeichen Land
- license plate country converter
- distinguishing signs used on vehicles in international traffic
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ivrc2country-0.1.2.tar.gz
(3.9 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 ivrc2country-0.1.2.tar.gz.
File metadata
- Download URL: ivrc2country-0.1.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
759d41d81aa81fa246f2681f16a23326a77a70470b666f2c8af3e743e470676a
|
|
| MD5 |
d077f25a9b0b807fb166735c5c4aadbe
|
|
| BLAKE2b-256 |
67d147d06ff0a47424037661413760c337f57e35d522e824bf471fca96a788af
|
File details
Details for the file ivrc2country-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ivrc2country-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccfaf825fcba075194251274f7c4c3bf9ee009451ddbaf3b455ce8d9ea87d8fe
|
|
| MD5 |
2ef32162d8ecbdede86ed7d219cdc805
|
|
| BLAKE2b-256 |
7e7c8623ef9a87c5e5f38f130ef035140a04f04a2d59a31910eb52e9b575cda0
|