JUGRI
The JUpyter-GRemlin Interface. The Gremlinpython package is easy to use to create queries against any property graph that supports the Tinkerpop interface. However, parsing the gremlin results is more complex as the returned list can contain many objects. The JUGRI package will help the developer by providing an easy to use interface to convert these results into the widely used Pandas DataFrame.
More features are on their way...
Requirements
Tested on Python 3.7
gremlinpythonpandas
Install/update
Install from PyPI (the usual way)
pip install --user --upgrade jugri
Install from source
pip install --user --upgrade -e git+git@github.com:meltwater/jugri.git#egg=jugri
or (using https)
pip install --user --upgrade -e git+https://github.com/meltwater/jugri.git#egg=jugri
Usage
Convert Gremlin query results to a Pandas DataFrame:
import jugri
from gremlin_python.structure.graph import Graph
graph = Graph()
g = graph.traversal()
df = jugri.to_df(g.V().valueMap(True).limit(10))
# df is a Pandas DataFrame with the results of the query.
You can find a Jupyter notebook example
in the example folder.
Uninstall
pip uninstall jugri
Metadata
Release files for jugri 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jugri-0.5.2.tar.gz | 25.6 kB | Without provenance | Details for jugri-0.5.2.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jugri-0.5.2-py3-none-any.whl | Python 3 | none | any | Details for jugri-0.5.2-py3-none-any.whl |
| jugri-0.5.2-py2-none-any.whl | Python 2 | none | any | Details for jugri-0.5.2-py2-none-any.whl |
Total release size: 42.3 kB
Release files / jugri-0.5.2.tar.gz
| Download URL | jugri-0.5.2.tar.gz |
|---|---|
| Size | 25.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64c442b66dec755dfc640c46f8edcebdb9c6b454d05f54d3b8be82eea4589021
|
|
BLAKE2b-256 checksum How to use checksums |
7f56c0981696ea163d2c45b7a5795cdedcf0f6e382e89e34a6cf6ffe7311c581
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.4
|
Release files / jugri-0.5.2-py3-none-any.whl
| Download URL | jugri-0.5.2-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5006225b9d778f35c106d7abf6b7626afa79fd1869b57cadfbf7a205898fc74e
|
|
BLAKE2b-256 checksum How to use checksums |
86ab7598293f32bfa1336afbb386f0e98ca40672dae24905398c51f24ecc2c85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.4
|
Release files / jugri-0.5.2-py2-none-any.whl
| Download URL | jugri-0.5.2-py2-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
8bc2844dbf103c1bec1e72bff6af5fd87feb84d3da7cb5abd97358a04e734b02
|
|
BLAKE2b-256 checksum How to use checksums |
a08793bb997e65a8ecc9de77208fb65ee07ea22429520716cb5deae0a23986b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.4
|
Security for jugri 0.5.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.