# 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
File details
Details for the file lazy_py2neo-2019.3.7.tar.gz
.
File metadata
- Download URL: lazy_py2neo-2019.3.7.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d037a51418225ba0b5f6238e3ce3886af1979809427c41659b9ffe465d6425f |
|
MD5 | 4702397d715a3614b9b626e42d5b4ed8 |
|
BLAKE2b-256 | 3272886054174f1ba9ab5d3c3699768334b079206cc07e4468dbada03f361843 |
File details
Details for the file lazy_py2neo-2019.3.7-py3-none-any.whl
.
File metadata
- Download URL: lazy_py2neo-2019.3.7-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73840157acafac0690b0b58e4d56fde1381003a3459a9710545d0de876e4a746 |
|
MD5 | 98e30293dad8363e2b4dbd530e0bdae0 |
|
BLAKE2b-256 | 9a3395890f7f52429c02396ed5cb2f906afa5afc2cb77f0cb03dd14760bad941 |