Skip to main content

Locale currency country code mapper

Project description

Locale, currency, and country code mapper

Python library for looking up locale, currency, or country code based on one of the other.


>>> import lccc_mapper
>>> lccc_mapper.currency_to_country_codes('USD')
['AS', 'BQ', 'IO', 'EC', 'SV', 'GU', 'HT', 'MH', 'FM', 'MP', 'PW', 'PA', 'PR', 'TL', 'TC', 'US', 'UM', 'VG', 'VI']
>>> lccc_mapper.country_code_to_currencies('CH')
['CHF', 'CHE', 'CHW']
>>> lccc_mapper.locale_to_currencies('en_GB')[0]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for lccc_mapper, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size lccc_mapper-0.0.2.tar.gz (6.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page