Pure Python Ultipa Driver
Project description
Ultipa Python Driver
Official Python driver for Ultipa graph database (GQL).
Requirements
- Python 3.9+
Installation
pip install ultipa
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.)
- Type hints support
- Health checks
Documentation
See Quick Start for detailed usage.
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
ultipa-6.2.0.tar.gz
(136.3 kB
view details)
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
ultipa-6.2.0-py3-none-any.whl
(163.7 kB
view details)
File details
Details for the file ultipa-6.2.0.tar.gz.
File metadata
- Download URL: ultipa-6.2.0.tar.gz
- Upload date:
- Size: 136.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 |
aad48f5ad88d701f199239b85020d90f7c23449f2fb97240f7f04b804a4ed36e
|
|
| MD5 |
f7f4472b8d42a6bb6c44565112b48d6a
|
|
| BLAKE2b-256 |
081b364ee4466c4d4ab18b7d6151876aab9a89bb0f167a226d4f717fc7d19c9c
|
File details
Details for the file ultipa-6.2.0-py3-none-any.whl.
File metadata
- Download URL: ultipa-6.2.0-py3-none-any.whl
- Upload date:
- Size: 163.7 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 |
262341513729a7b021e4809ea5a3ce88c8627b68568ace42cbe99404c19ed10d
|
|
| MD5 |
a80a366b4bb2b9bd19fd63cfb3c4d2a4
|
|
| BLAKE2b-256 |
2698a8f8901d360ed953ff85b63ad6be3badeb3e241ad4aaccf5097e233d9894
|