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!

Metadata

Release files for country-db 1.0.1

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-db 1.0.1
File Size Uploaded
country-db-1.0.1.tar.gz 21.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for country-db 1.0.1
File Interpreter ABI Platform
country_db-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 44.4 kB

Release files / country-db-1.0.1.tar.gz

Download URL country-db-1.0.1.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
636ebda76142a83af9842605ddabc5d3ab46a4eedb08d23b50a43821524094f2
BLAKE2b-256 checksum
How to use checksums
d4147ae06e16c1d75cc71f4f59e0686e307335dc27ccde05cc215ee24db56917
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0

Release files / country_db-1.0.1-py3-none-any.whl

Download URL country_db-1.0.1-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47c92580428cbb434ba22d7a3fd985cc0cd159b7e59050121a82234801b7d085
BLAKE2b-256 checksum
How to use checksums
b0fab197fbf85d70e7e97f6113e2486d35173c4777e602a29144974ca24d4f21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0

2 release files

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