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.3.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exchangerate_client-0.3.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file exchangerate_client-0.3.0.tar.gz.

File metadata

  • Download URL: exchangerate_client-0.3.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for exchangerate_client-0.3.0.tar.gz
Algorithm Hash digest
SHA256 76002c220535f6701b9836ccb2fd7999dd374aeae8d99a3f1d5f9f4cb9774fb4
MD5 c4ef11da17b66ddebcc2284dc7c63bcc
BLAKE2b-256 21123291b8c1f852189db65cf1fcb98fbd4e91d4090ce45a144b850bdb45edb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for exchangerate_client-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45ff35447567f9c68d1a1e474d454591f79295a7ce62db009e0f3eabc5fa0ecc
MD5 93918d2d011133bb9ddf3ef97a1cf77e
BLAKE2b-256 cb86ca9a4120ba8585467f24d0480d839e95b70944867b9217d1d6025fb126fc

See more details on using hashes here.

Supported by

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