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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwp_py-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 878beeded50f07a36a08e944ee787d8934c08493f8f426da4f593ea65013122b
MD5 22f6b43b71ccad363c101b1f8e8d3ebd
BLAKE2b-256 73fb753959f5940b46756970dd3e16eca348d8c50b5c1f11846986f00b957a6c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gwp_py-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3f99edfe882a08111198766c563dc301864e64c3b1dfa1a6af22227204763892
MD5 2066f0f00dd79d72a4101052b2174289
BLAKE2b-256 cce28bef05c6a0ffab2ea4ec789342351024e29ee95f03eb8894ebab3d5c8c12

See more details on using hashes here.

Provenance

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