Skip to main content

A Python package to get nationality by country code

Project description

Nationality Mapper

This package provides a simple way to get the nationality of a country given its ISO 3166-1 alpha-2 country code.

Installation

To install the package, use pip:

pip install country_nationality

Usage

from country_nationality import nationality

nationality = nationality("US")
print(nationality)  # Output: American

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_nationality-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

country_nationality-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file country_nationality-0.1.0.tar.gz.

File metadata

  • Download URL: country_nationality-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for country_nationality-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a6914acdbb9d2ae53e09c6b4a4a3a27c841bfdd21d62d2795795db508a17c3b2
MD5 98ceca94f6fe4722ba35ff16f1a559e3
BLAKE2b-256 8776b050bb59f1cb60487598ba452c95fe0ec245b51a5aef33ec640b055b44fd

See more details on using hashes here.

File details

Details for the file country_nationality-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for country_nationality-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5db75ff43fbd730afab1d8c5cf3a37d790bfc42969526564f360ae1f9ce9bf5
MD5 fdcee3f1390f2cebc134acd15cef756f
BLAKE2b-256 b2131ec99faba122a5d2076c35e21f7a8436875c98e4708ea872f915310368c9

See more details on using hashes here.

Supported by

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