Python module for country codes with ISO codes.
Project description
Country
Package published at: PyPI
Python module for country codes with ISO codes.
Install:
pip install country_module
Use:
Create a python script, for example example.py
:
from country_module import country
print('Country code: {}'.format(country.see(country_name='India', option=0)))
print('ISO code: {}'.format(country.see(country_name='India', option=1)))
Save and run:
❯❯❯ py example.py
Country code: +91
ISO code: IN
Author: Harshil Darji
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
country_module-1.0.1.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for country_module-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f71054fce1e21e880a0971860e19a6f4785f81cb4606a0e5e6a2412855ed3e6 |
|
MD5 | 8d49583d0dfc443953b72a476eb4ece9 |
|
BLAKE2b-256 | 58fa9a875d99a77afdadbbcd35ce21d2e84448a08a53e82847f32cd5b1024aa6 |