Shared Pydantic models for RElab Raspberry Pi Camera plugin models
Project description
relab-rpi-cam-models
Shared Pydantic models for the RELab Raspberry Pi Camera plugin and the RELab platform, part of the CML RELab project.
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):
pip install relab-rpi-cam-models
Import models in your code:
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file relab_rpi_cam_models-0.1.0.tar.gz.
File metadata
- Download URL: relab_rpi_cam_models-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05d75b85316a2512b35516083667fc3b525a1fbb6c9a06b3e3553fdf77e92cbb
|
|
| MD5 |
a44172b95d53e9a99fee99f95996ba19
|
|
| BLAKE2b-256 |
71950c299381429af90a53a0d6494cb8f964f731eb2ff962a6aa96a1a3a047a0
|
File details
Details for the file relab_rpi_cam_models-0.1.0-py3-none-any.whl.
File metadata
- Download URL: relab_rpi_cam_models-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
454355d0e37a695ed81cd913aff2ec251a65e861bd5ff9a848560f8386744a8c
|
|
| MD5 |
96bcd4d66e662c5930a34939293283d6
|
|
| BLAKE2b-256 |
59a87eef13aa3f6a6607abd06e5d7491a1fa2d04483039247bb8a00a37215ce0
|