Skip to main content

Python module for country codes with ISO codes.

Project description

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

Project details


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)

Uploaded Source

Built Distribution

country_module-1.0.1-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page