# lazy_py2neo
Project description
Wrapper around py2neo returning Futures, helping support multiple concurrent database queries
Note: This package has only been tested with py2neo version 3
Drop in replacement for py2neo.Graph: `python from py2neo import Graph ` becomes `python from lazy_py2neo import Graph `
After changing the import, calls that should return a Future can be modified like this: `python graph = Graph() result = graph.evaluate("MATCH (node) RETURN COUNT(node)") # result is a dict ` becomes `python graph = Graph() result = graph.evaluate("MATCH (node) RETURN COUNT(node)", as_future=True) # result is a Future evaluated_result = result.result() # evaluated_result is a dict `
Home-page: UNKNOWN Author: Bart Broere Author-email: UNKNOWN License: UNKNOWN Description: UNKNOWN Platform: UNKNOWN
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for lazy_py2neo-2019.3.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73840157acafac0690b0b58e4d56fde1381003a3459a9710545d0de876e4a746 |
|
MD5 | 98e30293dad8363e2b4dbd530e0bdae0 |
|
BLAKE2b-256 | 9a3395890f7f52429c02396ed5cb2f906afa5afc2cb77f0cb03dd14760bad941 |