Skip to main content

# 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lazy_py2neo-2019.3.7.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

lazy_py2neo-2019.3.7-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

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