Ultipa Python Driver
Official Python driver for Ultipa graph database (GQL).
Requirements
- Python 3.10+
Installation
pip install ultipa # base driver
pip install ultipa[ml] # + graph ML data loaders (torch); see gqldb.ml
Note: This is the v6.x driver for Ultipa Graph. If you are using Ultipa v4.x, please install ultipa==4.5.2. If you are using Ultipa v5.x, please install ultipa==5.2.1.
Quick Start
from gqldb import GqldbClient
from gqldb.config import GqldbConfig
# Create client
config = GqldbConfig(
hosts=["localhost:60061"],
username="admin",
password="password",
default_graph="myGraph"
)
client = GqldbClient(config)
client.login("admin", "password")
# Execute query
response = client.gql("MATCH (n) RETURN n LIMIT 10")
print(f"Rows: {len(response.rows)}")
print(f"Columns: {response.columns}")
# Close
client.close()
Features
- GQL query execution with parameters
- Streaming results for large datasets
- Transaction support (begin, commit, rollback)
- Graph management (create, drop, list)
- Bulk import for high-throughput loading
- Algorithm support (CALL algo.pagerank, algo.degree, etc.)
- Graph ML data loaders for PyTorch Geometric / DGL —
gqldb.ml(GraphLoader,NeighborLoader,EdgeLoader) - Type hints support
- Health checks
Documentation
See Quick Start for detailed usage.
For the graph ML data loaders (streaming features / subgraphs into PyTorch
Geometric / DGL for GNN training), see gqldb/ml/README.md.
License
MIT License
Metadata
Release files for ultipa 6.2.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ultipa-6.2.13.tar.gz | 185.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ultipa-6.2.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 404.2 kB
Release files / ultipa-6.2.13.tar.gz
| Download URL | ultipa-6.2.13.tar.gz |
|---|---|
| Size | 185.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
946ad64aa2d158b04b6fd30ddb9cc829ae8622f145dd88de8beae67d199a9d22
|
|
BLAKE2b-256 checksum How to use checksums |
9a512ca09434186384b4e51620f828e62f1a5164da6040c1de21c6f69e584969
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / ultipa-6.2.13-py3-none-any.whl
| Download URL | ultipa-6.2.13-py3-none-any.whl |
|---|---|
| Size | 218.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f6d2c2e59f3cf16479c3bc164aaddd9934f2f8bedb4b65abad9df34ca7eadf1
|
|
BLAKE2b-256 checksum How to use checksums |
c41138737ced56cd7e439e3283546826f5edbfd86f1f9f62c286367666ecc763
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|