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.

URLs

https://github.com/peal/lccc_mapper

http://pypi.python.org/pypi/lccc_mapper

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


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 details)

Uploaded Source

File details

Details for the file lccc_mapper-0.0.2.tar.gz.

File metadata

  • Download URL: lccc_mapper-0.0.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lccc_mapper-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9a463940d86f854e67a67859b6443d1b8dce9cff4a0694e797684a94bf9e03da
MD5 6010da24304c8223cd6772bfc040318c
BLAKE2b-256 4078c4007214e8a71458dd2cc04b91620bf26591e5db9f2dadd48d698aed70d2

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