Skip to main content

A simple and easy-to-use Python library for retrieving current currency exchange rates.

Project description

pycurrencychecker

A simple and easy-to-use Python library for retrieving current currency exchange rates. It uses free services to provide up-to-date data and requires API keys from https://exchangerate.host/.

Installation

You can install the library directly from PyPI using pip:

pip install pycurrencychecker

Usage

Below is a basic example of how to use the library:

from pycurrencychecker import CurrencyChecker

# Initialize the CurrencyChecker object
checker = CurrencyChecker(api_key="YOUR_API_KEY")

# Get the exchange rate from USD to EUR
rate = checker.get_exchange_rate("USD", "EUR")
print(f"Exchange rate from USD to EUR: {rate}")

Features

  • Retrieve up-to-date exchange rates for multiple currencies.
  • Support for over 150 global currencies.
  • Easy integration with Python projects.

Requirements

Contributions

Contributions are welcome! If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a branch for your feature (git checkout -b feature/new-feature).
  3. Make your changes and commit them (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature/new-feature).
  5. Open a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

If you have questions or suggestions, feel free to open an issue in the repository or contact me directly.

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

pycurrencychecker-1.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

pycurrencychecker-1.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file pycurrencychecker-1.0.1.tar.gz.

File metadata

  • Download URL: pycurrencychecker-1.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for pycurrencychecker-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2e0ab46f99639cbca75092514835d513035cc1d61d49a6e09996e25cc511b602
MD5 3dd1bc072ad9eaded71ae58d60ed1ebb
BLAKE2b-256 ba25bb2fdd98c4c346a14faa16b540113b2e2f01a441750e08c0f657807b546d

See more details on using hashes here.

File details

Details for the file pycurrencychecker-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pycurrencychecker-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f88e3dc3c224507602c7e3145611a9525343416ac710bf7be7e398ecb3d67479
MD5 86f16c035dd7b7525392fd2b7093c0ef
BLAKE2b-256 6183a011e72f41f16471f6cec9333f22fdddeceee1b0c3aafb0f15b606c4f487

See more details on using hashes here.

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