Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

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!

Release history Release notifications

This version
History Node

0.2.0

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
dollars-0.2.0-py3-none-any.whl (3.0 kB) Copy SHA256 hash SHA256 Wheel py3 Feb 21, 2017
dollars-0.2.0.tar.gz (1.6 kB) Copy SHA256 hash SHA256 Source None Feb 21, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page