Python client for the GQL Wire Protocol (GWP)
Project description
gwp-py
Python client for the GQL Wire Protocol (GWP).
Install
pip install gwp-py
Quick Start
import asyncio
from gwp_py import GqlConnection
async def main():
conn = await GqlConnection.connect("localhost:50051")
async with conn.create_session() as session:
cursor = await session.execute("MATCH (n:Person) RETURN n.name")
async for row in cursor:
print(row)
asyncio.run(main())
Features
- Async-first API built on
grpcio.aio - Full GQL type support (nodes, edges, paths, temporals, lists, maps)
- Transaction support with auto-rollback context managers
- GQLSTATUS error handling
License
MIT OR Apache-2.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gwp_py-0.1.1.tar.gz
(23.9 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
gwp_py-0.1.1-py3-none-any.whl
(25.5 kB
view details)
File details
Details for the file gwp_py-0.1.1.tar.gz.
File metadata
- Download URL: gwp_py-0.1.1.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b8207ebeb30ce5af93f907c86be04f84a6a6c5f64383095beeb61997479aa32
|
|
| MD5 |
434519a8485388b1271afb6a0586a60c
|
|
| BLAKE2b-256 |
e0dc61868ffa6b6c1f1740accbe951af25c3090d1bfb60d06b42a95fb0530ff5
|
File details
Details for the file gwp_py-0.1.1-py3-none-any.whl.
File metadata
- Download URL: gwp_py-0.1.1-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b15faf64dbe729b7577766d732f683af2c9fcf902b59a63b19cbc8881b7cd1d7
|
|
| MD5 |
c10122bb9d3e63a4a5d3ce9dafb81ac4
|
|
| BLAKE2b-256 |
90bbf69e24e9ac8a67b1309c54c9a6d830318f08d8ce153bd0ba0fd8db1651d7
|