Skip to main content

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


Download files

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

Source Distribution

hugegraph-python-1.0.0.3.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

hugegraph_python-1.0.0.3-py3-none-any.whl (5.8 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