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 import PHugeGraph
# init client
client = PHugeGraph("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.7.tar.gz
(14.6 kB
view hashes)
Built Distribution
Close
Hashes for hugegraph_python-1.0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3af64fb8c926f50821c99df0e5e212a62a58684811da3a41ed9c5e0b5a49c47 |
|
MD5 | 873b8dc2b4eead32acfbb30433a35dbf |
|
BLAKE2b-256 | e1d4c7818d42dd5741b315833a2d6bd0cf75fe3b8c9f9fb350c042856bc75308 |