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 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 country_module-1.0.1.tar.gz.
File metadata
- Download URL: country_module-1.0.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
030ecf33dd9e8e07a07dc76c7c8e8e404be3ec7d1c27560f86fa669c09c677f5
|
|
| MD5 |
a848835aa149f260a0dff84884471e21
|
|
| BLAKE2b-256 |
5ffefad306bb139367025b8c5f00fc599dbc8288024f5294960b40c92253e1ba
|
File details
Details for the file country_module-1.0.1-py3-none-any.whl.
File metadata
- Download URL: country_module-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f71054fce1e21e880a0971860e19a6f4785f81cb4606a0e5e6a2412855ed3e6
|
|
| MD5 |
8d49583d0dfc443953b72a476eb4ece9
|
|
| BLAKE2b-256 |
58fa9a875d99a77afdadbbcd35ce21d2e84448a08a53e82847f32cd5b1024aa6
|