currency-symbols :money_with_wings:
Get the currency symbol for an ISO 4217 currency code — USD → $, EUR → €, INR → ₹.
- Covers all active ISO 4217 codes, plus common historical, crypto and commodity codes
- Zero dependencies
- Fully typed (PEP 561, ships
py.typed) - Python 3.9+
Installation
pip install currency-symbols
Usage
from currency_symbols import CurrencySymbols
CurrencySymbols.get_symbol("USD")
# '$'
CurrencySymbols.get_symbol("EUR")
# '€'
CurrencySymbols.get_symbol("gbp")
# '£' — codes are case-insensitive
CurrencySymbols.get_symbol("XYZ")
# None — unknown codes return None
Changelog
All notable changes are documented in the CHANGELOG.
Contributing
Interested in contributing to this project? You can log any issues or suggestions 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
License
Metadata
Release files for currency-symbols 2.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| currency_symbols-2.0.6.tar.gz | 5.0 kB | With provenance | Details for currency_symbols-2.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| currency_symbols-2.0.6-py3-none-any.whl | Python 3 | none | any | Details for currency_symbols-2.0.6-py3-none-any.whl |
Total release size: 10.2 kB
Release files / currency_symbols-2.0.6.tar.gz
| Download URL | currency_symbols-2.0.6.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e72e457cbc15067590c3e0090f80d7e46c9196ac68485c678e52aa4e7599d973
|
|
BLAKE2b-256 checksum How to use checksums |
e7d55be243c3fa01bd1c4f2b619e4817134f16426298de7b83b5c9fd80a2d53e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / currency_symbols-2.0.6-py3-none-any.whl
| Download URL | currency_symbols-2.0.6-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc8bb1b0a84c9c0a1b1eb02e36573f86f3d9dc0d15a612458e9c6b167f5c6eef
|
|
BLAKE2b-256 checksum How to use checksums |
ee4de7c84d558c166582f13d9a278c317a77c994fb2a0f9fea9026d653464d6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logSecurity for currency-symbols 2.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for currency_symbols-2.0.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.