Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Simple exchange rates

Project description

Exrates

Exrates is a simple Python application to get exchange rates from https://exchangeratesapi.io/

Installation

Exrates requires Python3 and depends on Requests library.

pip install exrates

Usage

usage: Exrates [-h] [-b BASE] [--version] symbols

positional arguments:
  symbols               Currencies seperated by comma

optional arguments:
  -h, --help            show this help message and exit
  -b BASE, --base BASE  Base currency (default: EUR)
  --version             show program's version number and exit

Examples

Base currency is EUR

# exrates try
Base currency is: EUR
TRY 6.5815

You can change base currency with -b option

# exrates try -b usd
Base currency is: USD
TRY 5.8842199374

You can use multiple currencies by seperating them with a comma

# exrates try,cad
Base currency is: EUR
CAD 1.5098
TRY 6.5815

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 exrates, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size exrates-1.0.5-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size exrates-1.0.5.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View hashes

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