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.14
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.14.tar.gz | 192.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ultipa-6.2.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 418.4 kB
Release files / ultipa-6.2.14.tar.gz
| Download URL | ultipa-6.2.14.tar.gz |
|---|---|
| Size | 192.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afe992cfb2f83ab954ffeee443391107ecbc720810a76058bf9587bfea867c93
|
|
BLAKE2b-256 checksum How to use checksums |
5e50bbe6b8dc147bffdb25d7f06151799547933abf376ea85980010f61ae5bb6
|
| 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.14-py3-none-any.whl
| Download URL | ultipa-6.2.14-py3-none-any.whl |
|---|---|
| Size | 225.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6c378aab2d99c805179c82a460a7819ff51d63d63c7eeaf9e42ac79fe297f1c
|
|
BLAKE2b-256 checksum How to use checksums |
5f3c8c90d9df230ba132540a988dbcf295dd5659a57b98d82773a6c09abe25e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|