Skip to main content

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

Metadata

Release files for country-module 1.0.0

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.0
File Size Uploaded Provenance Actions
country_module-1.0.0.tar.gz 4.7 kB Without provenance Details for country_module-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 10.3 kB

Release files / country_module-1.0.0.tar.gz

Download URL country_module-1.0.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4198afd05ce36118e0b4b76a2fa107f271e0d6599111e25fc15e33679bc285e0
BLAKE2b-256 checksum
How to use checksums
e6b1d67dc7d91a408784c0abe38cc7a96f19a04d58b0ae1e0e615870ad08a3ad
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.0-py3-none-any.whl

Download URL country_module-1.0.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9080da5b00d4b66f82dfaa0d6da9be4b86135817c3fff8755f53a9b4f34cd743
BLAKE2b-256 checksum
How to use checksums
78d200ea16c66e3740f0c71224e9cf2277674a486ce675b4496bff5518387ea5
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

Security for country-module 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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