currency-symbols :money_with_wings:
Get currency symbol by currency code eg: USD -> $
References
ISO 4217 - Currency Codes
Installation
$ pip3 install currency-symbols
Usage
from currency_symbols import CurrencySymbols
dollarSymbol = CurrencySymbols.get_symbol('USD')
print(dollarSymbol)
euroSymbol = CurrencySymbols.get_symbol('EUR')
print(euroSymbol)
britishPoundSymbol = CurrencySymbols.get_symbol('GBP')
print(britishPoundSymbol)
bitcoinSymbol = CurrencySymbols.get_symbol('BTC')
print(bitcoinSymbol)
Contributing
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
Credits
Inspired by work of @bengourley on currency-symbol-map