Skip to main content

Unofficial exchangerate.host python client library

Project description

Introduction

This is unofficial exchangerate.host python client library.

exchangerate.host is a simple and lightweight free service for current and historical foreign exchange rates & crypto exchange rates.

Getting started

Installation

  • Using pip pip install exchangerate-client

Usage

  • Get all currency symbols
import exchangerate
client = exchangerate.ExchangerateClient()
print(client.symbols())
  • Get latest rates
import exchangerate
client = exchangerate.ExchangerateClient()
print(client.latest())

Development guide

Testing

This package uses tox to run testing automation against multiple python versions, to install and run tox, use

pip install tox
tox

Local development

  • Install to local env with pip install --editable .
  • Then this will work python -c "import exchangerate"

Project details


Download files

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

Source Distribution

exchangerate-client-0.2.0.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

exchangerate_client-0.2.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page