Skip to main content

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 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dollars, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size dollars-0.2.0-py3-none-any.whl (3.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dollars-0.2.0.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page