Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cashy-1.0.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cashy-1.0.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for cashy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 11f04a24d358ea081123bea187f6f1aaa533f0840aa884a8ddb5cade6f4b8eb6
MD5 d56fa5d0b3fb3a14959e771e98a9950c
BLAKE2b-256 1d3f67f0546962372e4f3837352ede60c105cca8e5d0ed85183feab8c89ccc13

See more details on using hashes here.

Provenance

The following attestation bundles were made for cashy-1.0.0.tar.gz:

Publisher: workflow.yml on mohsin-nasir/cashy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for cashy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9bde4ebb3da7e69328ef5d4559bf435df0d5079fa297db5cdd8e48a67afd1ef4
MD5 49c9cd5ff3c122d31bd13a889fe7b065
BLAKE2b-256 f08e27a92758d1260971a7b284e3e0192eea8e979e765c51d0735e58f2113212

See more details on using hashes here.

Provenance

The following attestation bundles were made for cashy-1.0.0-py3-none-any.whl:

Publisher: workflow.yml on mohsin-nasir/cashy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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