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
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 gwp_py-0.2.0.tar.gz.
File metadata
- Download URL: gwp_py-0.2.0.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a40655932860d8c98b89126b0e6aa7c9c805fa1486fb108a576bf77d757fc2c
|
|
| MD5 |
2109e1932c22e3e8d040fe4ee00a8ce6
|
|
| BLAKE2b-256 |
6b43ac7db065ae070cb809afda5dc32f39b79faa14663cffe89c6a9a3929ceff
|
Provenance
The following attestation bundles were made for gwp_py-0.2.0.tar.gz:
Publisher:
pypi.yml on GrafeoDB/gwp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gwp_py-0.2.0.tar.gz -
Subject digest:
8a40655932860d8c98b89126b0e6aa7c9c805fa1486fb108a576bf77d757fc2c - Sigstore transparency entry: 1279132376
- Sigstore integration time:
-
Permalink:
GrafeoDB/gwp@be4a64b23387be95495b4b738868845e46cbd1e3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/GrafeoDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@be4a64b23387be95495b4b738868845e46cbd1e3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file gwp_py-0.2.0-py3-none-any.whl.
File metadata
- Download URL: gwp_py-0.2.0-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
940711e1dbf67ff842b265700019219a7d3aeb8c4a1661529c68e387a2a31a31
|
|
| MD5 |
43a54d8bcad460769b7a32e2a6935211
|
|
| BLAKE2b-256 |
7afcf7b3fbd811875a401d8027cf2add07f9a5d537621e87a8043c75ac59feab
|
Provenance
The following attestation bundles were made for gwp_py-0.2.0-py3-none-any.whl:
Publisher:
pypi.yml on GrafeoDB/gwp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gwp_py-0.2.0-py3-none-any.whl -
Subject digest:
940711e1dbf67ff842b265700019219a7d3aeb8c4a1661529c68e387a2a31a31 - Sigstore transparency entry: 1279132392
- Sigstore integration time:
-
Permalink:
GrafeoDB/gwp@be4a64b23387be95495b4b738868845e46cbd1e3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/GrafeoDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@be4a64b23387be95495b4b738868845e46cbd1e3 -
Trigger Event:
release
-
Statement type: