Metadata-Version: 2.4
Name: relab-rpi-cam-models
Version: 0.1.1
Summary: Shared Pydantic models for RElab Raspberry Pi Camera plugin models
Author: Simon van Lierde
Author-email: Simon van Lierde <s.n.van.lierde@cml.leidenuniv.nl>
License-Expression: AGPL-3.0-or-later
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: FastAPI
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Multimedia :: Graphics :: Capture
Classifier: Topic :: Multimedia :: Video :: Capture
Classifier: Topic :: System :: Hardware
Requires-Dist: pillow>=10.4
Requires-Dist: pydantic>=2.9
Maintainer: Simon van Lierde
Maintainer-email: Simon van Lierde <s.n.van.lierde@cml.leidenuniv.nl>
Project-URL: Homepage, https://github.com/CMLPlatform/relab-rpi-cam-plugin
Project-URL: Issues, https://github.com/CMLPlatform/relab-rpi-cam-plugin/issues
Project-URL: Repository, https://github.com/CMLPlatform/relab-rpi-cam-plugin.git
Description-Content-Type: text/markdown

# relab-rpi-cam-models

Shared Pydantic models for the [RELab Raspberry Pi Camera plugin](https://github.com/CMLPlatform/relab-rpi-cam-plugin) and the [RELab platform](https://github.com/CMLPlatform/relab), part of the [CML RELab project](https://cml-relab.org).

## Overview

This package provides pure, hardware-independent data models for camera, image, and stream metadata. It is designed for use in both device-side and platform-side Python projects that interact with the RELab ecosystem.

## Usage

Install from PyPI (or your internal index):

```bash
pip install relab-rpi-cam-models
```

Import models in your code:

```python
from relab_rpi_cam_models.camera import CameraMode, CameraStatusView
from relab_rpi_cam_models.images import ImageMetadata
from relab_rpi_cam_models.stream import StreamView, StreamMode
```

## Features

- Pure Pydantic models (no hardware dependencies)
- Camera, image, and streaming metadata schemas
- Compatible with FastAPI, Pydantic v2, and standard Python

## License

AGPL-3.0-or-later
