Skip to content

aio-libs/aioneo4j

Repository files navigation

aioneo4j

info:asyncio client for neo4j

Installation

pip install aioneo4j

Usage

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