Skip to main content

Easy Exchange Rates

PyPI package version number Actions Status License

A python package for retrieving currency exchange data from https://data.ecb.europa.eu/ to a pandas dataframe.

Usage

from easy_exchange_rates import API
api = API()
df = api.get_exchange_rates(
  base_currency="EUR", 
  start_date="2024-03-12",
  end_date="2024-04-21",
  targets=["USD","CAD"]
)
print(df.head(5))
>>>
	        CAD	    USD
TIME_PERIOD		
2024-03-12	1.4739	1.0916
2024-03-13	1.4756	1.0939
2024-03-14	1.4725	1.0925
2024-03-15	1.4731	1.0892
2024-03-18	1.4745	1.0892

Testing

python3 -m unittest discover -s tests

Release files for easy-exchange-rates 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easy-exchange-rates 0.2.0
File Size Uploaded
easy_exchange_rates-0.2.0.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for easy-exchange-rates 0.2.0
File Interpreter ABI Platform
easy_exchange_rates-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / easy_exchange_rates-0.2.0.tar.gz

Download URL easy_exchange_rates-0.2.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
30d1e20f5c75c8303ba46e3cdcd18ba9b6827b99c31a0c08877b4898ee6f89b7
BLAKE2b-256 checksum
How to use checksums
dafeac239b8bb92391bb7ebdc2e4eefb5eddb5c143df298ce0d555b95f862ba8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / easy_exchange_rates-0.2.0-py3-none-any.whl

Download URL easy_exchange_rates-0.2.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99ee5ded14ae53ba03c0b33606cd5799da9b229c25c51fb1a1295de36529815d
BLAKE2b-256 checksum
How to use checksums
2fb2c52352d2ab38991b820c59251928af2f36d0cc34c719bc237991d5d3e220
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page