Converts everything to dollars using up to date rates for free
Project description
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!
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dollars-0.2.0.tar.gz.
File metadata
- Download URL: dollars-0.2.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c06f03826a6b4c06260dd56b3d4d943181c500f9c195d19321c1f65bb8eb439
|
|
| MD5 |
77203afbb473dc3ec65fdaaab3683b0d
|
|
| BLAKE2b-256 |
88ded6ca28a08a4696dd97aa675a23be5811551c1a4516a5d713b56b5f95115d
|
File details
Details for the file dollars-0.2.0-py3-none-any.whl.
File metadata
- Download URL: dollars-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
449e4cc5ce973bebbbdcb75c38df721600bffb6cf059fddc6076834bd857e29a
|
|
| MD5 |
bf2861166d2002116986a150eeec5dea
|
|
| BLAKE2b-256 |
20f76d395881f5ab1b00b88086128f47ef8f3e752f1db70ed25c6809fad9fd6b
|