Unofficial exchangerate.host python client library
Project description
Introduction
This is unofficial exchangerate.host python client library.
exchangerate.host is a simple and lightweight free service for current and historical foreign exchange rates & crypto exchange rates.
Getting started
Installation
- Using pip
pip install exchangerate-client
Usage
- Get all currency symbols
import exchangerate
client = exchangerate.ExchangerateClient()
print(client.symbols())
- Get latest rates
import exchangerate
client = exchangerate.ExchangerateClient()
print(client.latest())
Development guide
Testing
This package uses tox
to run testing automation against multiple python versions, to install and run tox, use
pip install tox
tox
Local development
- Install to local env with
pip install --editable .
- Then this will work
python -c "import exchangerate"
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
Close
Hashes for exchangerate-client-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e54c270e05f937e21f376ca3d25c6f75537820eba7b0659d6f1709dcfe7eee1a |
|
MD5 | 096db07a8b0ee8e57e505c3068a13251 |
|
BLAKE2b-256 | 4ae8a7b46e3ca2998e76fcdc02a5f4f587fd4fb81734c581af35101ebdacf8a3 |
Close
Hashes for exchangerate_client-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b5cfee8eb54dd1cf4a8553302ac37b657d3d79440de7249851cb70f770b8113 |
|
MD5 | dcf6af6075b64c35353c2311b774ba5c |
|
BLAKE2b-256 | c7690fce0b037609a8fefb8e20e43fc58dbacf13ef2ce71c18b4e77de6eac162 |