hellysmile / aioneo4j

asyncio client for neo4j

Home Page:https://pypi.python.org/pypi/aioneo4j

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

asyncio client for neo4j

https://pypi.python.org/pypi/aioneo4j

License:MIT License


Languages

Language:Python 100.0%