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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwp_py-0.1.6.tar.gz
  • Upload date:
  • Size: 31.0 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.6.tar.gz
Algorithm Hash digest
SHA256 195427430761be5c346ab1f5db916b6561bb24c0f3a9fdf6f41a83d323eb1f21
MD5 9f966cbfa5a4411a6d8631127251403c
BLAKE2b-256 ddeb8404c130f21ba2a5d69a918516a280605984b1d1972e39bc02fd0760387b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gwp_py-0.1.6-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.7

File hashes

Hashes for gwp_py-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f79ae6330457ed7e067c2b123a0fd1ba3e13ff8fc8f836bed0f8367c243c7261
MD5 788fd0b55f49c8fee81b3c6bf27dda9e
BLAKE2b-256 9505701ae2de335c3ff6a0993f9fd0bcf5acfb932f22268cf7ce22fd5ec47579

See more details on using hashes here.

Provenance

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