Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

⚠️⚠️ This repo is archived and the open source code have been contributed to apache hugegraph-ai . Welcome to contribute ~

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

About

A Python SDK for Apache HugeGraph

Resources

Stars

9 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors