Skip to content

stjordanis/exchange

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Exchange Rate

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.

About

Get current exchange rate.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%