Skip to main content

Country Database

License Python PyPI

A comprehensive repository of global country details, including country codes, ISD codes, currency codes, and more.

️✨Features

🌐Country Codes

  • Alpha2Code
  • Alpha3Code
  • NumericCode

Source: ISO 3166 - 1

🌍Region Details

  • Continent
  • Capital

Source: Wikipedia

  • RegionName
  • RegionCode
  • SubRegionName
  • SubRegionCode
  • IntermediateRegionName
  • IntermediateRegionCode

Source: UN M49

🔗TLD

  • TopLevelDomain

Source: IANA

☎️Calling Codes

  • CallingCode

Source: ITU

💲Currency Codes

  • CurrencyCode
  • CurrencyNumber
  • CurrencyName

Source: ISO 4217

🚩Flag

  • FlagEmoji
  • FlagUnicode
  • FlagImage [ToDo]

Source: Openmoji

⚙️Installation

Install country-db

pip install country-db

✅ToDo

  • Include Usage/Example in README
  • Add wiki page
  • Add documentation page
  • Add FlagImage

🤝 Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Commit your changes (git commit -m 'feat: add amazing feature')
  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a Pull Request

⚖️License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏Show your support

Give a ⭐️ if this project helped you!

Download files

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

Source Distribution

country-db-1.0.1.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

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

country_db-1.0.1-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file country-db-1.0.1.tar.gz.

File metadata

  • Download URL: country-db-1.0.1.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for country-db-1.0.1.tar.gz
Algorithm Hash digest
SHA256 636ebda76142a83af9842605ddabc5d3ab46a4eedb08d23b50a43821524094f2
MD5 ddb67c0e07977a1cfb719df3deddf8af
BLAKE2b-256 d4147ae06e16c1d75cc71f4f59e0686e307335dc27ccde05cc215ee24db56917

See more details on using hashes here.

File details

Details for the file country_db-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: country_db-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for country_db-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47c92580428cbb434ba22d7a3fd985cc0cd159b7e59050121a82234801b7d085
MD5 41cb036ac329759a7541c567cedb0d57
BLAKE2b-256 b0fab197fbf85d70e7e97f6113e2486d35173c4777e602a29144974ca24d4f21

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0

2 files

Supported by

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