Fetch and process historical daily currency exchange rate from the ECB
Project description
ECB Exchange Rates
A Python package to fetches the exchange rate for a given date, from currency, and to currency.
This package uses daily exchange rate published by ECB. ECB page for Euro foreign exchange reference rates
The ECB exchange rate data does not include weekends. If the date falls on a weekend or holiday, it uses the last available rate.
Installation
pip install ecb-currency-exchange-rates
Usage
from ecb_rates import ecb_rates
rate = ecb_rates.get_exchange_rate("2025-03-31", "EUR", "USD")
print(rate)
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
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 ecb_currency_exchange_rate-0.1.0.tar.gz.
File metadata
- Download URL: ecb_currency_exchange_rate-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d06175a918b38b16b3c78a208e8446a04f12604092b9b761bd17996ad4be745
|
|
| MD5 |
988c6747d34f97b4cac55ad4362c0308
|
|
| BLAKE2b-256 |
6d18d24020d3d0b571cbf7978ce1d03c8810312ebe32c67d161f272815e47684
|
File details
Details for the file ecb_currency_exchange_rate-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ecb_currency_exchange_rate-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db05caa0351640cc9611d4401c317834254427c18a849f42e8d429b0affaa9c2
|
|
| MD5 |
bc06b62e83d2266071308ba705650350
|
|
| BLAKE2b-256 |
faebb5545abc8a37deb5021b2e6d168ea4c4b3b737af2d90872a5eaa47481f1a
|