Metadata-Version: 2.4
Name: qubecore-client
Version: 1.0.0
Summary: QubeCore Client SDK
License: MIT License
        
        Copyright (c) 2026 QubeCore Project
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: grpcio>=1.60.0
Requires-Dist: pydantic>=2.5.0
Provides-Extra: dev
Requires-Dist: grpcio-tools>=1.60.0; extra == 'dev'
Requires-Dist: mypy>=1.8.0; extra == 'dev'
Requires-Dist: ruff>=0.1.0; extra == 'dev'
Description-Content-Type: text/markdown

# QubeCore-Client

Python client SDK for QubeCore — Quantum Computing Operating System.

## Overview

QubeCore Client provides a Python-friendly interface for communicating
with QubeCore Server over gRPC. QubeCli, QubeLab, and QubeGate all
depend on this package.

## Requirements

- Python 3.11

## Installation

```bash
pip install qubecore-client
```

## Quick Start

```python
from qubecore_client import QubeClient

client = QubeClient(host="localhost", port=50051)

# Submit a job
job_id = await client.submit_job(circuit="OPENQASM 3.0; ...")

# Poll for result
status = await client.get_status(job_id)

# Stream result
async for event in client.stream_result(job_id):
    print(event)
```

## API

| Method | Description |
|---|---|
| `submit_job()` | Submit a quantum job, returns job_id immediately |
| `get_status()` | Get current job status |
| `get_result()` | Get completed job result |
| `stream_result()` | Stream job events in real time |

## Compatibility

| qubecore-client | qubecore |
|---|---|
| 1.x | 1.x |

## License

MIT