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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
795270c3cdf3ec1b65b7bfdc723f0a5d4fcb93b899eaf1fdf6399012975e7181
|
|
| MD5 |
ca68bbfef7f0007925f8fb3a03234ec4
|
|
| BLAKE2b-256 |
1be987d0fff2629415dd24a3cfb6b4b3cd46f0eb328ec6857a858bacf8c98ff5
|
File details
Details for the file currency_api_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: currency_api_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32125470eaba216ef0cb9d84f8d5f2e2d743c15b2964b626ad0f3fee6fd3b19f
|
|
| MD5 |
0821858631dadd80a5637bb48645cf6b
|
|
| BLAKE2b-256 |
29b0f758debfa3a0f98f0d468109db1cfa7e1f55010b5d17585a2984580e4ae8
|