Metadata-Version: 2.1
Name: brainframe-apps
Version: 0.5.4.1
Summary: BrainFrame Apps use BrainFrame REST API to interact with the BrainFrame OS
License: BSD License
Author: Stephen Li
Author-email: stephen@aotu.ai
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: BSD License
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: Pillow (>=7.0.0,<12.0.0)
Requires-Dist: PyYAML (>=6.0.2,<7.0.0)
Requires-Dist: brainframe-api (>=0.30.4,<0.31.0)
Requires-Dist: matplotlib (>=3.5.0,<3.6.0)
Requires-Dist: numpy (>=1.19.2,<2.0.0)
Requires-Dist: python_i18n (>=0.3.9,<0.4.0)
Requires-Dist: pytz (>=2019.3,<2020.0)
Requires-Dist: requests (>=2.32.3,<3.0.0)
Requires-Dist: requests_oauthlib (>=1.3.0,<2.0.0)
Requires-Dist: typing-extensions (>=3.7.4)
Description-Content-Type: text/markdown

# brainframe-apps

Python CLI tool for managing BrainFrame video analytics server via REST APIs.

## Installation

```bash
pip install brainframe-apps
```

## Usage

```bash
brainframe_apps <command> [options]
```

### Commands

- `add-stream` - Add video stream
- `delete-stream` - Remove stream
- `list-stream` - List streams
- `start-analyzing` - Start stream analysis
- `stop-analyzing` - Stop stream analysis
- `capsule-control` - Manage AI capsules
- `identity-control` - Manage identities
- `user-control` - Manage users
- `license-control` - Manage licenses
- `get-zone-statuses` - Get zone status
- `process-image` - Process single image
- `load-settings` - Load configuration
- `save-settings` - Save configuration

### Example

```bash
brainframe_apps add-stream --server-url http://localhost --stream-url rtsp://camera.url
brainframe_apps list-stream
brainframe_apps start-analyzing --stream-name "Camera 1"
```

## Help

```bash
brainframe_apps <command> --help
```

