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.1.2.tar.gz (24.6 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.1.2-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file gwp_py-0.1.2.tar.gz.

File metadata

  • Download URL: gwp_py-0.1.2.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gwp_py-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e043a24b919c9527270ee93c22cf436cd19624dec48d2ccb382418f1d728d79b
MD5 e8397056771e23bfe271e1f3cb18688b
BLAKE2b-256 f0eb4c75334f6f938f5746f0e13fcc1914a859c5172c2edcffce4e40d0015f05

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwp_py-0.1.2.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.1.2-py3-none-any.whl.

File metadata

  • Download URL: gwp_py-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 26.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gwp_py-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cf227d2f25b01762ae9a9215b0b99069e8d168cdc606c472c7d91b642d787a8e
MD5 6b313399fa8e7605f440dbbc5a2568d7
BLAKE2b-256 0b5c4bb7efd36b15899b81c84de7d8baf2222c4f72b55548c221cc69ca3a8d00

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwp_py-0.1.2-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