Skip to main content

Country

Package published at: PyPI

Downloads


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

Metadata

Release files for country-module 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for country-module 1.0.1
File Size Uploaded
country_module-1.0.1.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for country-module 1.0.1
File Interpreter ABI Platform
country_module-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / country_module-1.0.1.tar.gz

Download URL country_module-1.0.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
030ecf33dd9e8e07a07dc76c7c8e8e404be3ec7d1c27560f86fa669c09c677f5
BLAKE2b-256 checksum
How to use checksums
5ffefad306bb139367025b8c5f00fc599dbc8288024f5294960b40c92253e1ba
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / country_module-1.0.1-py3-none-any.whl

Download URL country_module-1.0.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f71054fce1e21e880a0971860e19a6f4785f81cb4606a0e5e6a2412855ed3e6
BLAKE2b-256 checksum
How to use checksums
58fa9a875d99a77afdadbbcd35ce21d2e84448a08a53e82847f32cd5b1024aa6
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page