Shared Pydantic models for RElab Raspberry Pi Camera plugin models
Project description
relab-rpi-cam-models
Shared transport contracts for the RELab Raspberry Pi Camera plugin and the RELab platform, part of the CML RELab project.
Overview
This package provides stable, hardware-independent DTOs for camera, image, and stream payloads exchanged between the plugin and backend.
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
Public API
The supported public API is intentionally small:
CameraModeCameraStatusViewStreamModeStreamViewStreamMetadataImageCaptureResponse- image metadata DTOs used inside those responses
This package does not own:
- runtime stream state
- provider-specific request models such as YouTube stream config
- Pillow or EXIF helper behavior
- implementation-specific exceptions
Treat anything outside the documented DTOs as private and subject to change.
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.2.0.tar.gz.
File metadata
- Download URL: relab_rpi_cam_models-0.2.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7067c4b49185992b71bcd3f6a4360313fce175cfc33572777a1f8168533a72a6
|
|
| MD5 |
359a91035cb2328d9570dd516125e3d4
|
|
| BLAKE2b-256 |
282cb48b275530afde8dafc99ef69335b688d1e597b3c972351a37ce4ce68e1e
|
Provenance
The following attestation bundles were made for relab_rpi_cam_models-0.2.0.tar.gz:
Publisher:
models-publish.yml on CMLPlatform/relab-rpi-cam-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
relab_rpi_cam_models-0.2.0.tar.gz -
Subject digest:
7067c4b49185992b71bcd3f6a4360313fce175cfc33572777a1f8168533a72a6 - Sigstore transparency entry: 1301905205
- Sigstore integration time:
-
Permalink:
CMLPlatform/relab-rpi-cam-plugin@e170d60ea9ef340644c36ef63e90612ae595d6d0 -
Branch / Tag:
refs/tags/relab-rpi-cam-models-v0.2.0 - Owner: https://github.com/CMLPlatform
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
models-publish.yml@e170d60ea9ef340644c36ef63e90612ae595d6d0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file relab_rpi_cam_models-0.2.0-py3-none-any.whl.
File metadata
- Download URL: relab_rpi_cam_models-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3772843b480f5c50dfd80512385919cf616e7d3dbefa7b9c958962ed4ec29799
|
|
| MD5 |
e9814704e11a2e7b66da1f5528e87767
|
|
| BLAKE2b-256 |
6992b88e0acd9feeb999cfd818aca7042bd2d6c84de545b59128c9c36e6e99cd
|
Provenance
The following attestation bundles were made for relab_rpi_cam_models-0.2.0-py3-none-any.whl:
Publisher:
models-publish.yml on CMLPlatform/relab-rpi-cam-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
relab_rpi_cam_models-0.2.0-py3-none-any.whl -
Subject digest:
3772843b480f5c50dfd80512385919cf616e7d3dbefa7b9c958962ed4ec29799 - Sigstore transparency entry: 1301905322
- Sigstore integration time:
-
Permalink:
CMLPlatform/relab-rpi-cam-plugin@e170d60ea9ef340644c36ef63e90612ae595d6d0 -
Branch / Tag:
refs/tags/relab-rpi-cam-models-v0.2.0 - Owner: https://github.com/CMLPlatform
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
models-publish.yml@e170d60ea9ef340644c36ef63e90612ae595d6d0 -
Trigger Event:
push
-
Statement type: