https://github.com/arshadkazmi42/currency-symbols
:money_with_wings: Currency symbols generator
https://github.com/arshadkazmi42/currency-symbols
currency currency-symbols dollar hacktoberfest inr internation-currency pypi python rs symbols usd
Last synced: 5 months ago
JSON representation
:money_with_wings: Currency symbols generator
- Host: GitHub
- URL: https://github.com/arshadkazmi42/currency-symbols
- Owner: arshadkazmi42
- License: mit
- Created: 2019-01-26T10:37:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T17:17:24.000Z (about 1 year ago)
- Last Synced: 2025-03-31T00:24:14.192Z (7 months ago)
- Topics: currency, currency-symbols, dollar, hacktoberfest, inr, internation-currency, pypi, python, rs, symbols, usd
- Language: Python
- Homepage:
- Size: 40 KB
- Stars: 27
- Watchers: 2
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# currency-symbols :money_with_wings:
[](https://github.com/arshadkazmi42/currency-symbols/actions/workflows/pytest.yml)
[](https://pypi.org/project/currency-symbols/)
[](https://github.com/arshadkazmi42/currency-symbols)
[](https://pypi.org/project/currency-symbols/)
[](https://pypi.org/project/currency-symbols/)
[](https://github.com/arshadkazmi42/currency-symbols)Get currency symbol by currency code `eg: USD -> $`
## References
[ISO 4217 - Currency Codes](https://www.iso.org/iso-4217-currency-codes.html)## Installation
```
$ pip3 install currency-symbols
```## Usage
```python
from currency_symbols import CurrencySymbolsdollarSymbol = CurrencySymbols.get_symbol('USD')
print(dollarSymbol)# Output:
# $euroSymbol = CurrencySymbols.get_symbol('EUR')
print(euroSymbol)# Output:
# €britishPoundSymbol = CurrencySymbols.get_symbol('GBP')
print(britishPoundSymbol)# Output:
# £bitcoinSymbol = CurrencySymbols.get_symbol('BTC')
print(bitcoinSymbol)# Output:
# ฿
```## Contributing
Interested in contributing to this project?
You can log any issues or suggestion related to this library [here](https://github.com/arshadkazmi42/currency-symbols/issues/new)Read our contributing [guide](https://github.com/arshadkazmi42/currency-symbols/blob/master/CONTRIBUTING.md) on getting started with contributing to the codebase
## Credits
Inspired by work of [@bengourley](https://github.com/bengourley) on [currency-symbol-map](https://github.com/bengourley/currency-symbol-map#readme)