Converts amounts of any (a lot!) currency to dollars.
This will use https://openexchangerates.org/ as a backend. It will cache the rates for you and pull in the new values hourly so your data will never be older than almost 2 hours in the worst case. For that, you will be able to use the free plan.
This is how you use it:
$ pip install dollars
$ export OXR_APP_ID=... # Your freely achieved app id
$ ipython
In [1]: from dollars import dollar
In [2]: dollar('EUR', 5)
Out[2]: 5.271147845154761
Stop worrying, start converting!
Metadata
Release files for dollars 0.2.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 | |
|---|---|---|---|
| dollars-0.2.0.tar.gz | 1.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dollars-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 kB
Release files / dollars-0.2.0.tar.gz
| Download URL | dollars-0.2.0.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c06f03826a6b4c06260dd56b3d4d943181c500f9c195d19321c1f65bb8eb439
|
|
BLAKE2b-256 checksum How to use checksums |
88ded6ca28a08a4696dd97aa675a23be5811551c1a4516a5d713b56b5f95115d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / dollars-0.2.0-py3-none-any.whl
| Download URL | dollars-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
449e4cc5ce973bebbbdcb75c38df721600bffb6cf059fddc6076834bd857e29a
|
|
BLAKE2b-256 checksum How to use checksums |
20f76d395881f5ab1b00b88086128f47ef8f3e752f1db70ed25c6809fad9fd6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |