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.4.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.4-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwp_py-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 62407898b436fcda5a1a4b44ffeabd4d87e91e8f14f777855eb136d3e807a89f
MD5 dd3ae6b838fad494fca2fd14973b7ee2
BLAKE2b-256 b3d49793a7710d506bf12df813e8a61232895369cbbeacb0b26d7d8ee637f9d7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gwp_py-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 959925a4b441caf0a65920aa4e20f1aacbfb9d5da9a41e983c425f440f44d4ac
MD5 fcc2467b84b0d2ca25594b4c927d37cc
BLAKE2b-256 ca52778f33ef6c20dfbb6cffb43e8ffdf82c48fb456f51aa627d73ae2da26c70

See more details on using hashes here.

Provenance

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