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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwp_py-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 dadad7026cf5d04ff3812956346c0f06ab21d80c97cff2a9bd2dd8000d9b099d
MD5 2cfa38f2ffc736e69f88ebd3d067e809
BLAKE2b-256 28f32f055bb9b73ad264e0a5f8ed812ba2fd709005c1d9bb90421db5b2045206

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gwp_py-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 91697417e95668e0ea87e14ae2c0bc83b84df23f4937e76f0017a55752d6d0d4
MD5 5374509179df17cbf57ba2fd046fdfc7
BLAKE2b-256 dc1a213dc30da180672389c878ebb76bc79c8e0715eed902ecee5f521f35fce0

See more details on using hashes here.

Provenance

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