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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwp_py-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 29d1810ac0f6ee7a2f6f6dd1ed243ee30e52e1afe0c6cf69abeab3ed1e3eea37
MD5 e7d588252cf7fcd8b41be841f26b179a
BLAKE2b-256 cb2e26ffb36719c7fa2db879e4a77940cb5eb9fbae2beb11d973cb5ad7f05299

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gwp_py-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88a9a9f1b716b00dc1540d8378f1b8a11710893180ef57d7d4bea7b0b94a45cb
MD5 7551320edb74764552849cbc8d03d603
BLAKE2b-256 502a42fc58b197782c93a9b7175fc20707b26486d14a07e6730bc77cc445fcc3

See more details on using hashes here.

Provenance

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