pyexchangeratesapi
This is an unofficial Python wrapper for free ExchangeRatesAPI, which provides exchange rate lookups courtesy of the Central European Bank. It features a number of useful functions and can be installed easily using pip. Additionally wrapper is providing CLI interface.
Installation
pip install exchangeratesapi
Python usage
from exchangeratesapi import rates
latest = rates.latest()
latest["base"]
latest["date"]
latest = rates.Rates()
latest.base
latest.date
history = rates.history(start_at="2020-01-01", end_at="2020-12-31", base="PLN")
history["base"]
history["start_at"]
history["end_at"]
history = rates.HistoryRates(start_at="2020-01-01", end_at="2020-12-31", base="PLN")
history.base
history.start_at
history.end_at
Metadata
Release files for exchangeratesapi 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| exchangeratesapi-0.1.0.tar.gz | 7.5 kB | Without provenance | Details for exchangeratesapi-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| exchangeratesapi-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for exchangeratesapi-0.1.0-py2.py3-none-any.whl |
Total release size: 16.1 kB
Release files / exchangeratesapi-0.1.0.tar.gz
| Download URL | exchangeratesapi-0.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05fd32cc8116200ea9697672026e3e3410cf0de59b988fc0886f243f81084416
|
|
BLAKE2b-256 checksum How to use checksums |
8768a51ae582f7191e4ff0ae563fe5302d6472f9b3743dec4405490a95be8e3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
|
Release files / exchangeratesapi-0.1.0-py2.py3-none-any.whl
| Download URL | exchangeratesapi-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
215b32efdf6ce3232212bac4e8077d7673fcf60e4e37c5ae03d5ca4d374864d3
|
|
BLAKE2b-256 checksum How to use checksums |
ed3ca083b70c18e71d0b0360a53d603fcd808271ea4d574b013cc6a4d9ef6f91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
|
Security for exchangeratesapi 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.