Skip to main content

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.

Files for exchange, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size exchange-0.3-py2.py3-none-any.whl (3.8 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size exchange-0.3.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page