Version 1.7 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot.
For up-to-date documentation, see the latest version.
hugegraph-python-client is the Python SDK for HugeGraph. It manages schemas, reads and writes graph data, and executes Gremlin queries. HugeGraph-LLM and HugeGraph-ML also use this client.
Requirements
Python 3.9 or later
An accessible HugeGraph Server
uv (recommended) or pip
Installation
The package is currently published on PyPI as hugegraph-python:
API parameters may change with the HugeGraph REST API version. If an interface is incompatible, first check the REST API documentation for the current server version and the client test cases.
Development Checks
Run formatting and static checks from the root of the HugeGraph-AI repository:
1./style/code_format_and_analysis.sh
The source code and tests are under hugegraph-python-client/src/pyhugegraph/ and hugegraph-python-client/src/tests/.
↑↓ Navigate↵ Openesc Close
Ask AI
Agree to send your questions to the third-party Kapa service for AI answers based on the documentation.