Skip to main content

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

relab_rpi_cam_models-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

relab_rpi_cam_models-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file relab_rpi_cam_models-0.1.0.tar.gz.

File metadata

File hashes

Hashes for relab_rpi_cam_models-0.1.0.tar.gz
Algorithm Hash digest
SHA256 05d75b85316a2512b35516083667fc3b525a1fbb6c9a06b3e3553fdf77e92cbb
MD5 a44172b95d53e9a99fee99f95996ba19
BLAKE2b-256 71950c299381429af90a53a0d6494cb8f964f731eb2ff962a6aa96a1a3a047a0

See more details on using hashes here.

File details

Details for the file relab_rpi_cam_models-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for relab_rpi_cam_models-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 454355d0e37a695ed81cd913aff2ec251a65e861bd5ff9a848560f8386744a8c
MD5 96bcd4d66e662c5930a34939293283d6
BLAKE2b-256 59a87eef13aa3f6a6607abd06e5d7491a1fa2d04483039247bb8a00a37215ce0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page