AI Network Client Library for Python3
Project description
ain-py
A python version of ain-js.
Installation
pip install ain-py
Run all test
tox
Examples
from ain.ain import Ain
import asyncio
ain = Ain('https://mainnet-api.ainetwork.ai/')
async def process():
accounts = await ain.db.ref('/accounts').getValue()
print(accounts)
loop = asyncio.get_event_loop()
loop.run_until_complete(process())
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
ain-py-1.0.1.tar.gz
(27.6 kB
view hashes)
Built Distribution
ain_py-1.0.1-py3-none-any.whl
(24.8 kB
view hashes)