Skip to main content

A python async wrapper for the currency-api API

Project description

currency-api-py

A python async wrapper for the currency-api API

Installation

py -m pip install -U currency-api-py

:: latest (unstable)
py -m pip install git+https://github.com/Marseel-E/currency-api-py

Quickstart

import asyncio

from currencyApi import CurrencyApi

async def main():
	async with CurrencyApi() as session:
		data = await session.convert("eur", "usd")
		print(data)

if __name__ = '__main__':
	asyncio.run(main())

# Output (2022-04-30)
>>> 1.054463

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

currency-api-py-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

currency_api_py-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file currency-api-py-0.1.0.tar.gz.

File metadata

  • Download URL: currency-api-py-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for currency-api-py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 795270c3cdf3ec1b65b7bfdc723f0a5d4fcb93b899eaf1fdf6399012975e7181
MD5 ca68bbfef7f0007925f8fb3a03234ec4
BLAKE2b-256 1be987d0fff2629415dd24a3cfb6b4b3cd46f0eb328ec6857a858bacf8c98ff5

See more details on using hashes here.

File details

Details for the file currency_api_py-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for currency_api_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32125470eaba216ef0cb9d84f8d5f2e2d743c15b2964b626ad0f3fee6fd3b19f
MD5 0821858631dadd80a5637bb48645cf6b
BLAKE2b-256 29b0f758debfa3a0f98f0d468109db1cfa7e1f55010b5d17585a2984580e4ae8

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