Get the current exchange rate.
Project description
Get current exchange rate.
It parses current exchange rate from these services:
Yahoo finance
fixer.io
European Central Bank
Installation
Using pip to install it:
$ pip install exchange
Usage
The only method you would use is rate:
>>> import exchange >>> exchange.rate('USD', 'CNY') Decimal('6.070')
License
This project is licensed with BSD. See LICENSE for more detail.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
exchange-0.3.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for exchange-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc61ebeb11b8a236e1e0b014a71f432891d6099c95495b5d862c926f99fa8f55 |
|
MD5 | 50da3095aa41a278aa3145dd4a5da4c2 |
|
BLAKE2b-256 | 42c3daa284da7f6fbd0e6aee8e6d646c67664574472b463542b95d7954a6da47 |