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.
URLs
Example
>>> 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] 'GBP'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lccc_mapper-0.0.2.tar.gz
(6.4 kB
view hashes)