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

https://pypi.org/project/hugegraph-python/

pip3 install hugegraph-python

Install from source

release soon

Examples

from hugegraph.connection 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()

# gremlin
gremlin = client.gremlin()
gremlin.exec("g.V().limit(10)")

Any questions contact ming@apache.org

  • TODO
    • document
    • ut
    • ci
    • more api

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.9.tar.gz (15.4 kB view hashes)

Uploaded Source

Built Distribution

hugegraph_python-1.0.0.9-py3-none-any.whl (34.6 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