Skip to main content

Get currency symbol by currency code

Project description

currency-symbols :money_with_wings:

Build Status Downloads Repo Size LICENSE Version Last Commit

Get currency symbol by currency code eg: USD -> $


ISO 4217 - Currency Codes


$ pip3 install currency-symbols


from currency_symbols import CurrencySymbols

dollarSymbol = CurrencySymbols.get_symbol('USD')

# Output:
# $

euroSymbol = CurrencySymbols.get_symbol('EUR')

# Output:
# €

britishPoundSymbol = CurrencySymbols.get_symbol('GBP')

# Output:
# £

bitcoinSymbol = CurrencySymbols.get_symbol('BTC')

# Output:
# ฿


Interested in contributing to this project? You can log any issues or suggestion related to this library here

Read our contributing guide on getting started with contributing to the codebase


Inspired by work of @bengourley on currency-symbol-map

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

currency-symbols-2.0.2.tar.gz (3.5 kB view hashes)

Uploaded source

Built Distribution

currency_symbols-2.0.2-py3-none-any.whl (5.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page