Skip to main content

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.2.0.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gwp_py-0.2.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

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

Hashes for gwp_py-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8a40655932860d8c98b89126b0e6aa7c9c805fa1486fb108a576bf77d757fc2c
MD5 2109e1932c22e3e8d040fe4ee00a8ce6
BLAKE2b-256 6b43ac7db065ae070cb809afda5dc32f39b79faa14663cffe89c6a9a3929ceff

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwp_py-0.2.0.tar.gz:

Publisher: pypi.yml on GrafeoDB/gwp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for gwp_py-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 940711e1dbf67ff842b265700019219a7d3aeb8c4a1661529c68e387a2a31a31
MD5 43a54d8bcad460769b7a32e2a6935211
BLAKE2b-256 7afcf7b3fbd811875a401d8027cf2add07f9a5d537621e87a8043c75ac59feab

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwp_py-0.2.0-py3-none-any.whl:

Publisher: pypi.yml on GrafeoDB/gwp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page