Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Get the current exchange rate.

Project description

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.

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
exchange-0.3-py2.py3-none-any.whl (3.8 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jul 7, 2015
exchange-0.3.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None Jul 7, 2015

Supported by

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