A simple Live currency converter using the Frankfurter API
Project description
Py Currency Converter
A simple Python library to convert currencies using the live exchange rates from the Frankfurter API.
Installation
pip install cashy
Usage
from cashy import CurrencyConverter
converter = CurrencyConverter()
# Convert 100 USD to INR
result = converter.convert(100, 'USD', 'INR')
print(f"100 USD is {result} INR")
# Get exchange rate
rate = converter.get_exchange_rate('USD', 'INR')
print(f"Current rate from USD to INR: {rate}")
Features
- Real-time exchange rates
- No API key required (uses Frankfurter API)
- Simple and easy to use
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cashy-1.0.0.tar.gz.
File metadata
- Download URL: cashy-1.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11f04a24d358ea081123bea187f6f1aaa533f0840aa884a8ddb5cade6f4b8eb6
|
|
| MD5 |
d56fa5d0b3fb3a14959e771e98a9950c
|
|
| BLAKE2b-256 |
1d3f67f0546962372e4f3837352ede60c105cca8e5d0ed85183feab8c89ccc13
|
Provenance
The following attestation bundles were made for cashy-1.0.0.tar.gz:
Publisher:
workflow.yml on mohsin-nasir/cashy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cashy-1.0.0.tar.gz -
Subject digest:
11f04a24d358ea081123bea187f6f1aaa533f0840aa884a8ddb5cade6f4b8eb6 - Sigstore transparency entry: 833805874
- Sigstore integration time:
-
Permalink:
mohsin-nasir/cashy@32c3c7c1c697d2ce8fbf10249535371c30fc58e7 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/mohsin-nasir
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@32c3c7c1c697d2ce8fbf10249535371c30fc58e7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file cashy-1.0.0-py3-none-any.whl.
File metadata
- Download URL: cashy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bde4ebb3da7e69328ef5d4559bf435df0d5079fa297db5cdd8e48a67afd1ef4
|
|
| MD5 |
49c9cd5ff3c122d31bd13a889fe7b065
|
|
| BLAKE2b-256 |
f08e27a92758d1260971a7b284e3e0192eea8e979e765c51d0735e58f2113212
|
Provenance
The following attestation bundles were made for cashy-1.0.0-py3-none-any.whl:
Publisher:
workflow.yml on mohsin-nasir/cashy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cashy-1.0.0-py3-none-any.whl -
Subject digest:
9bde4ebb3da7e69328ef5d4559bf435df0d5079fa297db5cdd8e48a67afd1ef4 - Sigstore transparency entry: 833805876
- Sigstore integration time:
-
Permalink:
mohsin-nasir/cashy@32c3c7c1c697d2ce8fbf10249535371c30fc58e7 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/mohsin-nasir
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@32c3c7c1c697d2ce8fbf10249535371c30fc58e7 -
Trigger Event:
release
-
Statement type: