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.

Files for lazy-py2neo, version 2019.3.7
Filename, size File type Python version Upload date Hashes
Filename, size lazy_py2neo-2019.3.7-py3-none-any.whl (3.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size lazy_py2neo-2019.3.7.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page