{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"}],"enrichment":{"capability":"Maps country and region codes and names, matches administrative level names across sources, and provides foreign exchange rates and currency conversion.","skillfed_tags":["geospatial-data","currency-conversion","data-integration"],"use_cases":["Normalize country names and codes from multiple data sources into a consistent ISO 3166 format for data integration pipelines","Perform fuzzy matching on country names with abbreviation handling to reconcile messy or informal country references in datasets","Convert monetary amounts between local currencies and USD using current or historical exchange rates for financial analysis","Map administrative region names from different reporting systems to a canonical base set for geographic data harmonization","Build humanitarian data workflows that require standardized country and region identifiers aligned with UN OCHA vocabulary"],"what_it_does":"The HDX Python Country Library is a utility package for working with country and region identifiers, administrative boundaries, and foreign exchange data. It maps between country names and ISO 2/3 letter codes (ISO 3166) using live official data from the UN OCHA feed with fallback to internal static files, and supports exact matching in English, French, Spanish, Russian, Chinese, and Arabic, plus fuzzy matching with abbreviation handling for English. It also handles mapping administrative level names across different sources with phonetic fuzzy matching.\n\nBeyond geography, the package provides foreign exchange rate lookup and currency conversion, pulling current rates from Yahoo Finance with fallback to currency-api, and historic daily rates from Yahoo Finance with fallback to IMF data via IATI (with interpolation). It is part of the Humanitarian Data Exchange (HDX) project and is actively maintained with support for Python 3.10 through 3.14.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and solves a real problem for data integration and humanitarian workflows. No known vulnerabilities. Use it if you need reliable country/region code mapping, multilingual name matching, or FX rate conversion backed by official data sources."},"id":"hdx-python-country","links":{"html":"https://skillfed.io/packages/hdx-python-country","md":"https://skillfed.io/packages/hdx-python-country.md","pypi":"https://pypi.org/project/hdx-python-country/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-05","license_spdx":null,"license_treatment":"permissive","name":"hdx-python-country","python_support":"supports_current","summary":"HDX Python country code and exchange rate (fx) utilities"},"popularity":{"monthly_downloads":295467,"position":7922,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.1.4"}
