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

Uploaded Python 3

File details

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

File metadata

  • Download URL: country_converter_lite-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 05b321f37ff34b840317f8b447af4bd623a9d5461a1d4aa0e1e39a8a6f588c69
MD5 6b4ef51a574c35ac746b472704b486c3
BLAKE2b-256 8f36e8e4e96ad346dab61f2b16a2097076cc55778c9480d68bdee9120b344d65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for country_converter_lite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5fdc1feebf414ac344be22bc54689009cafa897ae6319117f6a861dc67895552
MD5 f2fbcea952bf5fcec40439be989ce8fe
BLAKE2b-256 93516a0c517c516faea87493d91a539f5a3a39d03989b0e8b9d2f526b186daf1

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