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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file exchangerate-client-0.2.0.tar.gz.

File metadata

  • Download URL: exchangerate-client-0.2.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for exchangerate-client-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e54c270e05f937e21f376ca3d25c6f75537820eba7b0659d6f1709dcfe7eee1a
MD5 096db07a8b0ee8e57e505c3068a13251
BLAKE2b-256 4ae8a7b46e3ca2998e76fcdc02a5f4f587fd4fb81734c581af35101ebdacf8a3

See more details on using hashes here.

File details

Details for the file exchangerate_client-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for exchangerate_client-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b5cfee8eb54dd1cf4a8553302ac37b657d3d79440de7249851cb70f770b8113
MD5 dcf6af6075b64c35353c2311b774ba5c
BLAKE2b-256 c7690fce0b037609a8fefb8e20e43fc58dbacf13ef2ce71c18b4e77de6eac162

See more details on using hashes here.

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