All Projects → OCHA-DAP → hdx-python-country

OCHA-DAP / hdx-python-country

Licence: other
Utilities to map between country and region codes and names and to match administrative level names from different sources. Also utilities for foreign exchange enabling obtaining current and historic FX rates for different currencies

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to hdx-python-country

world
A Laravel package which provides a list of the countries, states, cities, currencies, timezones and languages.
Stars: ✭ 479 (+2893.75%)
Mutual labels:  countries, currencies, countries-api
Nager.Country
Worldwide Country Informations (ISO-3166-1 Alpha2, ISO-3166-1 Alpha3, ISO 639-1)
Stars: ✭ 68 (+325%)
Mutual labels:  countries, country-codes, currencies
Countries
Countries, Languages & Continents data (capital and currency, native name, calling codes).
Stars: ✭ 656 (+4000%)
Mutual labels:  countries, currencies
graphcountries
An easy to use GraphQL API to query country-related data for free and without restrictions
Stars: ✭ 61 (+281.25%)
Mutual labels:  currencies, countries-api
django-countries-plus
Django model & fixture representing all top level country data from Geonames.org
Stars: ✭ 40 (+150%)
Mutual labels:  countries, country-codes
jbanking
A Java banking API
Stars: ✭ 58 (+262.5%)
Mutual labels:  countries, currencies
Fixer
A foreign exchange rates and currency conversion API
Stars: ✭ 2,545 (+15806.25%)
Mutual labels:  currencies, foreign-exchange-rates
geo-sql-database
Continents, Sub-Continents, Countries, States, Cities, Timezones, Currencies SQL database.
Stars: ✭ 30 (+87.5%)
Mutual labels:  countries, currencies
countriesNowAPI
CountriesNow is an Open source API for retrieving geo-information for countries, including their states, cities, population, etc. 🌎
Stars: ✭ 78 (+387.5%)
Mutual labels:  countries, country-codes
Countries
Countries - ISO 3166 (ISO3166-1, ISO3166, Digit, Alpha-2 and Alpha-3) countries codes and names (on eng and rus), ISO 4217 currency designators, ITU-T E.164 IDD calling phone codes, countries capitals, UN M.49 regions codes, ccTLD countries domains, IOC/NOC and FIFA letters codes, VERY FAST, NO maps[], NO slices[], NO init() funcs, NO external links/files/data, NO interface{}, NO specific dependencies, Databases/JSON/GOB/XML/CSV compatible, Emoji countries flags and currencies support, full support ISO-3166-1, ISO-4217, ITU-T E.164, Unicode CLDR and ccTLD standarts.
Stars: ✭ 85 (+431.25%)
Mutual labels:  countries, currencies
Countries
Laravel countries and currencies
Stars: ✭ 1,564 (+9675%)
Mutual labels:  countries
Factbook
factbook gem - scripts for the world factbook (get open structured data e.g JSON etc.)
Stars: ✭ 121 (+656.25%)
Mutual labels:  countries
Awesome Startups
❤️ A curated list of awesome startups
Stars: ✭ 197 (+1131.25%)
Mutual labels:  countries
country-flags
A small package to convert a country code to the corresponding country flag emoji
Stars: ✭ 27 (+68.75%)
Mutual labels:  countries
Countries
Collection of Country Information for Elixir.
Stars: ✭ 107 (+568.75%)
Mutual labels:  countries
Countrycode
🎯 Swift country and phone code Picker
Stars: ✭ 175 (+993.75%)
Mutual labels:  countries
Iso 3166 Countries With Regional Codes
ISO 3166-1 country lists merged with their UN Geoscheme regional codes in ready-to-use JSON, XML, CSV data sets
Stars: ✭ 1,372 (+8475%)
Mutual labels:  countries
Country Ip Blocks
CIDR country-level IP data, straight from the Regional Internet Registries, updated hourly.
Stars: ✭ 100 (+525%)
Mutual labels:  countries
Countries
Rinvex Country is a simple and lightweight package for retrieving country details with flexibility. A whole bunch of data including name, demonym, capital, iso codes, dialling codes, geo data, currencies, flags, emoji, and other attributes for all 250 countries worldwide at your fingertips.
Stars: ✭ 1,365 (+8431.25%)
Mutual labels:  countries
geonamescache
geonamescache - a Python library for quick access to a subset of GeoNames data.
Stars: ✭ 76 (+375%)
Mutual labels:  countries

Build Status Coverage Status Code style: black Imports: isort Downloads

The HDX Python Country Library provides utilities to map between country and region codes and names and to match administrative level names from different sources. It also provides utilities for foreign exchange enabling obtaining current and historic FX rates for different currencies.

It provides country mappings including ISO 2 and ISO 3 letter codes (ISO 3166) and regions using live official data from the UN OCHA feed with fallbacks to an internal static file if there is any problem with retrieving data from the url. (Also it is possible to force the use of the internal static files.)

It can exact match English, French, Spanish, Russian, Chinese and Arabic. There is a fuzzy matching for English look up that can handle abbreviations in country names like Dem. for Democratic and Rep. for Republic.

Mapping administration level names from a source to a given base set is also handled including phonetic fuzzy name matching.

It also provides foreign exchange rates and conversion from amounts in local currency to USD and vice-versa. The conversion relies on Yahoo Finance, falling back on exchangerate.host for current rates, and Yahoo Finance falling back on IMF data via IATI for historic rates.

For more information, please read the documentation.

This library is part of the Humanitarian Data Exchange (HDX) project. If you have humanitarian related data, please upload your datasets to HDX.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].