---
title: "currency-symbols | pypx"
description: "Get currency symbol by currency code"
canonical_url: "https://pypx.app/packages/currency-symbols"
meta:
  "og:description": "Get currency symbol by currency code"
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_currency-symbols%2Cversion_2.0.6%2Csummary_Get%2Bcurrency%2Bsymbol%2Bby%2Bcurrency%2Bcode%2Clicense_MIT%2Cp_Ii9wYWNrYWdlcy9jdXJyZW5jeS1zeW1ib2xzIg%2Cs_bXnzcDy_dOYETaq2.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "currency-symbols 2.0.6"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_currency-symbols%2Cversion_2.0.6%2Csummary_Get%2Bcurrency%2Bsymbol%2Bby%2Bcurrency%2Bcode%2Clicense_MIT%2Cp_Ii9wYWNrYWdlcy9jdXJyZW5jeS1zeW1ib2xzIg%2Cs_bXnzcDy_dOYETaq2.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **currency-symbols**

v2.0.6

Get currency symbol by currency code

5 KB Python 3.9+ py3-none-anyMIT

[** Diff **](https://pypx.app/packages/currency-symbols/diff)

`$ uv add currency-symbols`

# currency-symbols :money\_with\_wings:

[![CI](https://github.com/arshadkazmi42/currency-symbols/actions/workflows/pytest.yml/badge.svg)](https://github.com/arshadkazmi42/currency-symbols/actions/workflows/pytest.yml) [![Version](https://img.shields.io/pypi/v/currency-symbols.svg)](https://pypi.org/project/currency-symbols/) [![Downloads](https://img.shields.io/pypi/dm/currency-symbols.svg)](https://pypi.org/project/currency-symbols/) [![LICENSE](https://img.shields.io/pypi/l/currency-symbols.svg)](https://github.com/arshadkazmi42/currency-symbols/blob/master/LICENSE)

Get the currency symbol for an [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code — `USD → $`, `EUR → €`, `INR → ₹`.

- Covers all active ISO 4217 codes, plus common historical, crypto and commodity codes
- Zero dependencies
- Fully typed ([PEP 561](https://peps.python.org/pep-0561/), 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](https://github.com/arshadkazmi42/currency-symbols/blob/master/CHANGELOG.md).

## Contributing

Interested in contributing to this project? You can log any issues or suggestions 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)

## License

[MIT](https://github.com/arshadkazmi42/currency-symbols/blob/master/LICENSE)

## **Details **

<dl>

<dt>Version</dt>
<dd>2.0.6</dd>

<dt>License</dt>
<dd>MIT</dd>

<dt>Python</dt>
<dd>&gt;=3.9</dd>

<dt>Maintainer</dt>
<dd>Arshad Kazmi &lt;arshadkazmi42@gmail.com&gt;</dd></dl>

## **Links**

- [Homepage](https://github.com/arshadkazmi42/currency-symbols)
- [Issues](https://github.com/arshadkazmi42/currency-symbols/issues)
- [Repository](https://github.com/arshadkazmi42/currency-symbols)
- [View on PyPI](https://pypi.org/project/currency-symbols/)

## **Release Cadence **

**2**

releases in the past year

avg 392 days between releases

## **Maintainers **

- Arshad Kazmi · [arshadkazmi42@gmail.com](mailto:arshadkazmi42@gmail.com)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/currency-symbols#webpage","@type":"WebPage","description":"Get currency symbol by currency code","name":"currency-symbols","url":"https://pypx.app/packages/currency-symbols","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/currency-symbols"]}]},{"@id":"https://pypx.app/packages/currency-symbols#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"Get currency symbol by currency code","license":"MIT","name":"currency-symbols","softwareVersion":"2.0.6"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
