Skip to main content

asyncio client for neo4j

Project description

info:

asyncio client for neo4j

https://img.shields.io/travis/wikibusiness/aioneo4j.svg https://img.shields.io/pypi/v/aioneo4j.svg

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

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page