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.
Metadata
Release files for exchange 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| exchange-0.3.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| exchange-0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 7.2 kB
Release files / exchange-0.3.tar.gz
| Download URL | exchange-0.3.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bef812c47eaceecb9dbc2f2c780690ecb7cb2e31c743aebc89f9bba64084cb77
|
|
BLAKE2b-256 checksum How to use checksums |
20bff55ff7a6f40510a62e87be8efb77a9d931cb7f1e85d7f080b2baaf20c0d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / exchange-0.3-py2.py3-none-any.whl
| Download URL | exchange-0.3-py2.py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dc61ebeb11b8a236e1e0b014a71f432891d6099c95495b5d862c926f99fa8f55
|
|
BLAKE2b-256 checksum How to use checksums |
42c3daa284da7f6fbd0e6aee8e6d646c67664574472b463542b95d7954a6da47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |