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
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
hugegraph-python-1.0.0.10.tar.gz
(14.4 kB
view hashes)
Built Distribution
Close
Hashes for hugegraph-python-1.0.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8edfc0cd0fc7c76639698d31bf556e80b7a67053ec0b23fa4637d8658e6fa228 |
|
MD5 | afb1ab0f86a954280e39b83a3d349c6d |
|
BLAKE2b-256 | 6e6106ee4bcb62ab1451973236dce799ce946b5ab3785c81a425f1f8036f9751 |
Close
Hashes for hugegraph_python-1.0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ebf90401dc803da62e600a8b26df2c82a99cbcae9cdd5d87fd053934fd11e86 |
|
MD5 | 2240a8172ed456a1fa791d86740d05bc |
|
BLAKE2b-256 | b2c996a43b553d453678cd35b92a120f9f3804645181a42336071c0123536ad9 |