Skip to main content

Known Countries for Python

License Compatibility Package

Well-known countries for Python.

[Features] | [Prerequisites] | [Installation] | [Examples] | [Reference] | [Development]

✨ Features

  • Provides an enum of well-known countries (ISO 3166-1).
  • 100% pure and safe Python with zero dependencies and no bloat.
  • Cuts red tape: 100% free and unencumbered public domain software.
  • Polyglot software also available for Dart, Ruby, and Rust.

🛠️ Prerequisites

⬇️ Installation

Installation from PyPI

pip install -U known-countries

👉 Examples

Importing the Library

from known_countries import Country

📚 Reference

👨‍💻 Development

git clone https://github.com/it-is-known/known-countries.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

known_countries-0.0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

known_countries-0.0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file known_countries-0.0.2.tar.gz.

File metadata

  • Download URL: known_countries-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for known_countries-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0d74581d6969b45dc42c1a40798179b0c78b0fc2e46c1c251d11682b1d26ee51
MD5 d64751608bccb40c701d6c7883924d01
BLAKE2b-256 260e5bbb6063884dda5f371179e7fbe5a362270960712f7dab8df782b158cb9f

See more details on using hashes here.

File details

Details for the file known_countries-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: known_countries-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for known_countries-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2167f8fd1a16fdbd513bda40ba27e6a8dc0f56c5fbc980d419dbb16a70748d3d
MD5 a36b35b98ca18505b6a3f16990bae605
BLAKE2b-256 43985b97da762f4f0e98bb4df3f69c7bfeb7c20c2539a933cdadc05608ab1fd5

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