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 GUIDE.md for detailed usage.
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.0.3.tar.gz
(93.0 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.0.3-py3-none-any.whl
(114.5 kB
view details)
File details
Details for the file ultipa-6.0.3.tar.gz.
File metadata
- Download URL: ultipa-6.0.3.tar.gz
- Upload date:
- Size: 93.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c30d0bb08b1dc1318fa95115dfc8b38997905fa49c0a23b86b783b61255c42c
|
|
| MD5 |
b28bb8a8b4a973230e9876cd05445304
|
|
| BLAKE2b-256 |
d6010406dbc32fa3d5c199afb5e67ac11fc6543ff16276cee025f5cf4c7339c8
|
File details
Details for the file ultipa-6.0.3-py3-none-any.whl.
File metadata
- Download URL: ultipa-6.0.3-py3-none-any.whl
- Upload date:
- Size: 114.5 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 |
0c12981332d5e014d85f07b838c4bf901d35c1d7f7cb738d200f47f69226c50a
|
|
| MD5 |
89eab5f4110a1c5a12b6e68a1cd514af
|
|
| BLAKE2b-256 |
0538d86f39949fcd4965faee6b2d090ac7919d2d026ce8a39128f245b1342fe0
|