Metadata-Version: 2.4
Name: iseq-flow
Version: 0.1.2
Summary: CLI tool for IntelliSeq Flow - cloud file management
Project-URL: Homepage, https://intelliseq.com
Project-URL: Documentation, https://docs.flow.labpgx.com
Author-email: IntelliSeq <contact@intelliseq.com>
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: click>=8.0.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: keyring>=25.0.0
Requires-Dist: keyrings-alt>=5.0.0
Requires-Dist: pydantic-settings>=2.0.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: rich>=13.0.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: ruff>=0.3.0; extra == 'dev'
Description-Content-Type: text/markdown

# iseq-flow

CLI tool for IntelliSeq Flow - cloud file management.

## Installation

```bash
pip install iseq-flow
```

## Usage

### Authentication

Login using OAuth Device Flow:

```bash
flow login
```

This will open a browser for authentication. Your credentials are stored securely in your system keyring.

Check login status:

```bash
flow status
```

Logout:

```bash
flow logout
```

### File Operations

List files in a project:

```bash
flow files ls --project PROJECT_ID
flow files ls --project PROJECT_ID --path data/raw/
```

Download a file:

```bash
flow files download --project PROJECT_ID --path data/file.txt
flow files download --project PROJECT_ID --path data/file.txt -o local_file.txt
```

Upload a file:

```bash
flow files upload --project PROJECT_ID --path data/uploaded.txt local_file.txt
```

## Configuration

Configure the Flow service URL:

```bash
flow config set api_url https://files.flow.intelliseq.com
```

View current configuration:

```bash
flow config show
```

## Development

```bash
# Install in development mode
pip install -e ".[dev]"

# Run tests
pytest

# Format code
ruff format .
ruff check --fix .
```
