info: | asyncio client for neo4j |
---|
pip install aioneo4j
import asyncio
from aioneo4j import Neo4j
async def go():
async with Neo4j('http://neo4j:neo4j@127.0.0.1:7474/') as neo4j:
data = await neo4j.data()
assert bool(data)
loop = asyncio.get_event_loop()
loop.run_until_complete(go())
loop.close()