Catalog PyPI
PACKAGE EXPLORERView in registry

ain-py

PyPI

AI Network Client Library for Python3

ainainblockchainainetworkapi
Versions collected1
Direct dependencies7From release 1.3.0
Last observed21 Oct, 11:32 UTC

README

Version 1.3.0 documentation

ain-py

A python version of ain-js.

Installation

pip install ain-py

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())

Test How-To

  1. Clone AIN Blockchain and install
git clone git@github.com:ainblockchain/ain-blockchain.git
yarn install
  1. Start blockchain locally
bash start_local_blockchain.sh
  1. Run tests
tox

License

This project is licensed under the MIT License

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.3.011 Jul 20247

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
ainblockchain/ain-py

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:707a315c1d4b704df8c649b3a5521029bab640f6a99d379c5c15f300080e2c31