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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hugegraph_python-1.0.0.9-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

Details for the file hugegraph-python-1.0.0.9.tar.gz.

File metadata

  • Download URL: hugegraph-python-1.0.0.9.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.2

File hashes

Hashes for hugegraph-python-1.0.0.9.tar.gz
Algorithm Hash digest
SHA256 4fb770056a83bae72cbe4cdb818d683bb854169eeac76568f2a1160898fb8510
MD5 9c24045363b7581d9db74d159d62bd1f
BLAKE2b-256 2dfc5634e6c96a86f037806e5c80003d210b9b186c1756a5800dadd0ab1ebe9f

See more details on using hashes here.

File details

Details for the file hugegraph_python-1.0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for hugegraph_python-1.0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 2d0dee3f424af8badb54b8e315b9dbc6b4ba9235159929a0a37745e9b27451a5
MD5 63535ffc2327e484c07b13ca0bf83675
BLAKE2b-256 e8425f4ad59ac3b80bbd25d3f6cea67bdfd42c0e08bcaffb9c76702f2cc3f94d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page