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 details)
Built Distribution
File details
Details for the file exchange-0.3.tar.gz
.
File metadata
- Download URL: exchange-0.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bef812c47eaceecb9dbc2f2c780690ecb7cb2e31c743aebc89f9bba64084cb77 |
|
MD5 | 13288be00c55380d01144d4db1a80a60 |
|
BLAKE2b-256 | 20bff55ff7a6f40510a62e87be8efb77a9d931cb7f1e85d7f080b2baaf20c0d8 |
Provenance
File details
Details for the file exchange-0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: exchange-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc61ebeb11b8a236e1e0b014a71f432891d6099c95495b5d862c926f99fa8f55 |
|
MD5 | 50da3095aa41a278aa3145dd4a5da4c2 |
|
BLAKE2b-256 | 42c3daa284da7f6fbd0e6aee8e6d646c67664574472b463542b95d7954a6da47 |