Metadata-Version: 2.4
Name: quapp
Version: 0.1.0
Summary: CLI for the Quapp quantum/cloud computing platform
License: MIT License
        
        Copyright (c) 2026 Quapp CLI Contributors
        
        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.
        
Project-URL: Homepage, https://gitlab.com/quanghuy.ha/Quapp-CLI
Project-URL: Repository, https://gitlab.com/quanghuy.ha/Quapp-CLI
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer[all]>=0.12
Requires-Dist: rich>=13
Requires-Dist: requests>=2.31
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Dynamic: license-file

# Quapp CLI

A command-line interface for the [Quapp](https://quapp.cloud) quantum/cloud computing platform.

## Install

```bash
pip install quapp
```

Or download a standalone binary from the [GitLab CI pipeline artifacts](https://gitlab.com/quapp/quapp-cli/-/pipelines) — no Python required.

## Quick Start

```bash
# Authenticate
quapp auth login

# Create a project
quapp project create --name my-project

# Create a function
quapp function create --name my-func --sdk-version 0.45.3 --lang qiskit

# Upload a function version
quapp function version <function-id> --description "v1" --files main.py

# Run a job
quapp job run --function <function-id> --provider aws --device sim --shots 1000 --wait
```

## Commands

### Auth
```
quapp auth login       Authenticate with email + password
quapp auth logout      Invalidate session
quapp auth status      Show login state
```

### Projects
```
quapp project create --name X [--description Y] [--permission private|group]
quapp project get <id>
quapp project delete <id>
```

### Functions
```
quapp function create --name X --sdk-version X --lang qiskit|cuda [--description Y]
quapp function version <id> --description X --files file1.py [file2.py ...]
quapp function get <id>
quapp function delete <id>
```

### Jobs
```
quapp job run --function <id> --provider aws --device <device> --shots N [--wait]
quapp job status <id>
quapp job results <id>
quapp job cancel <id>
quapp job retry <id>
```

### Global flags
```
--json    Output raw JSON instead of Rich tables
```

## Development

```bash
pip install -e .
python -m pytest tests/
```

## License

MIT
