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.11.tar.gz
(14.8 kB
view hashes)
Built Distribution
Close
Hashes for hugegraph-python-1.0.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbe8eea2fb4a8b9d534ebd1d25dbab0785e4ea5340282a5407bec8cb1e9dd6c5 |
|
MD5 | 603b0b041e89b534d45f699f727d93ab |
|
BLAKE2b-256 | 77dc1be20081e3ba3794482fd1ec2a7a7d9e885d06ee3bf724460e7765eb2e96 |
Close
Hashes for hugegraph_python-1.0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43d061e8d57269786dc1b1bae49e2ef94fa128507a5996fd5c299f92f8b7d61f |
|
MD5 | 335d930288b2504fcdc87afc0c491e27 |
|
BLAKE2b-256 | f478401117debb9b2b72583b990db2d9db4b8514b227355fd5ec018660f8f8a7 |