Pure Python Ultipa Driver
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ultipa-6.2.9.tar.gz.
File metadata
- Download URL: ultipa-6.2.9.tar.gz
- Upload date:
- Size: 172.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0167f7fb6dd563542bfe4910e14e914933af86a8feff1763d7ecd075826317af
|
|
| MD5 |
4309421854ff96465e4004c3153f7d03
|
|
| BLAKE2b-256 |
a51d5eb2ea23893a8fe6a8263554a3f96ede31c847335b2fec4d4b15bd35a7a2
|
File details
Details for the file ultipa-6.2.9-py3-none-any.whl.
File metadata
- Download URL: ultipa-6.2.9-py3-none-any.whl
- Upload date:
- Size: 203.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b7d3ac48e215f10684f6f17cf4683f810ccc3b5ce908df3565a4837b65e5736
|
|
| MD5 |
d755bef74c74c6c0691bbca43d4bd0c5
|
|
| BLAKE2b-256 |
6e3e9220dad07319d352b13b3073832b6d5244125cd169d62b0310d3b5709971
|