Skip to main content

Get currency symbol by currency code

Project description

currency-symbols :money_with_wings:

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

Installation

$ pip3 install currency-symbols

Usage

from currency_symbols import CurrencySymbols

dollarSymbol = CurrencySymbols.get_symbol('USD');
print(dollarSymbol)

# Output:
# $

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 of 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-1.0.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

currency_symbols-1.0.0-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page