Skip to main content

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:

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.3.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.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: country_converter_lite-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 445710d909b3fb5b3fefd5796e1b25b3ac4cc1f0ee0905060a12e2cdae5a2ce1
MD5 d6fd246fb68ddb245f12ae38b4ee159f
BLAKE2b-256 1d1b856fc9cb1eca5a92ac502cab1bf579a6f18eed839bdc73d2b29754e59e20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for country_converter_lite-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b8d4c062747e1ed7b7ca2278faa8d1333c00b75cf4d8b414c934da4fea4b4148
MD5 af01fa3a68c08d30a1b76ce02929a6c4
BLAKE2b-256 14509491b0cac4110a5e0ea46f1f0a42097ff417813119d376d6185b2e96a10e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.1

2 files

0.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