Skip to main content

Utility for converting country names to ISO3 codes and managing country groupings (OECD, EU, G20)

Project description

CountryConverter

A lightweight Python utility for converting country names to ISO3 codes and managing country groupings (OECD, EU, EEA, G20).


📌 Features

  • ✅ Convert country names to ISO3 codes
  • ✅ Handle alternative country names using a curated mapping
  • ✅ Fast vectorised conversion using pandas.map()
  • ✅ Predefined country groups:
    • OECD
    • EU
    • EEA
    • G20
    • Custom combined groups

📂 Data Source

The converter is based on a single CSV file:

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_converter_lite-0.1.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

country_converter_lite-0.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file country_converter_lite-0.1.1.tar.gz.

File metadata

  • Download URL: country_converter_lite-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for country_converter_lite-0.1.1.tar.gz
Algorithm Hash digest
SHA256 df7ecac82749b2c090e6c10e4b4d9355919e1d4e575fdf2dd2fda6e415d4c4dc
MD5 e24ce4b598d1713dbd2270b63d56507d
BLAKE2b-256 5b50cf72ba0e5b04322c7482c2a04b645b2fb899d3d615fa6a49f8ebacfe7009

See more details on using hashes here.

File details

Details for the file country_converter_lite-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for country_converter_lite-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78eab0dce6eeee3addd3314aed65248ab068ac9fa0e04fbb0ab3244f16d3a9ca
MD5 46840407464068b4c4dcef59a73e704d
BLAKE2b-256 b4f867b12b95622b26ed067572802fdc93ebb42af4576e7679d3744e39e53d45

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