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('http://node.ainetwork.ai:8080/', chainId=None)
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-0.1.0.tar.gz
(13.4 kB
view hashes)
Built Distribution
ain_py-0.1.0-py3-none-any.whl
(15.4 kB
view hashes)