Metadata-Version: 2.4
Name: gwp-py
Version: 0.1.6
Summary: Python client for the GQL Wire Protocol (GWP)
License-Expression: MIT OR Apache-2.0
Keywords: database,gql,graph,grpc,wire-protocol
Requires-Python: >=3.10
Requires-Dist: grpcio>=1.60.0
Requires-Dist: protobuf>=4.25.0
Provides-Extra: dev
Requires-Dist: grpcio-tools>=1.60.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.3; extra == 'dev'
Description-Content-Type: text/markdown

# gwp-py

Python client for the GQL Wire Protocol (GWP).

## Install

```bash
pip install gwp-py
```

## Quick Start

```python
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
