A Python SDK for Apache HugeGraph
Project description
hugegraph-python
A Python SDK for Apache HugeGraph, maintained by cvte research data-mining team.
This project currently in alpha testing, will open source the code soon.
#Installation ##PyPi
pip3 install gremlinapi
##Install from source
git clone git@github.com:gremlin/gremlin-python.git
cd gremlin-python
python3 setup.py install
#Examples
from hugegraph import PyHugeGraph
# init client
client = PyHugeGraph("127.0.0.1", "8080", user="admin", pwd="pwd", graph="hugegraph")
# schema
schema = client.schema()
schema.getVertexLabels()
# graph
g = client.graph()
g.getVertexById("1:tom")
g.close()
Any questions contact ming@apache.org
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
Close
Hashes for hugegraph_python-1.0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dd2be5c69f4b1e3fb8837da82929311e96b3fa4571c8784ffb97ab437c20f5c |
|
MD5 | 07671a667fc810f1ef614052edc23034 |
|
BLAKE2b-256 | 368e4dd144d5f1d797a863d184ff696dea4754be6bc4029b474fd7a663a32538 |