semvec/pypi-packages huggingface dataset:
relab-rpi-cam-models 0.1.1
Shared Pydantic models for RElab Raspberry Pi Camera plugin models

# 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
geniussis-api-fr8train 0.1.0
A Python SDK for integrating with the GeniusSIS API
Keywords: genius, api, sdk, geniussis, integration

# GeniusSIS API
### By fr8train-sv

A Python 3.12 SDK for integrating with GeniusSIS API. Install with:

```bash
  pip install geniussis-api-fr8train
```

Upgrade this specific library by running:

```bash
  pip install --upgrade geniussis-api-fr8train
```

## Important Commands

The following list of commands are important for project maintenance.

## Building the Library

To build the library, ensure that the necessary build tools are installed in your environment. This can be done by installing `setuptools`, `build`, and `wheel`:

```bash
  pip install build twine setuptools wheel
```

`twine` can also be installed here while we're installing shit since we'll need it later. 

**REMEMBER**: INCREMENT YOUR VERSION NUMBER IN THE TOML BEFORE BUILDING.  

**REMEMBER**: REMOVE THE /DIST DIRECTORY BEFORE BUILDING FOR A CLEAN BUILD

Now, you can create the distribution files (source distribution and wheel) using the following command:

```bash
  python3 -m build
```

This will generate builds in the `dist/` directory.

## Deploying to PyPI

Ensure you have a valid PyPI account and credentials added to your `.pypirc` file or provide them during the publish process. Then, upload your package to PyPI with:

```bash
  python3 -m twine upload dist/*
```

Follow any prompts from `twine` to successfully upload your package. Once deployed, your package will be available on PyPI. 

# Usage

## Initialization

To start using the API SDK, you will need to initialize an API object:

```python
from geniussis_api_fr8train.api import Api

api = Api()
```

This will reach out into your project for a .env file for credentials to establish a connection to the Agilix API Gateway.
Structure your .env file like the example below and maintain it at the root of your project directory.

```dotenv
API_CLIENT_KEY=
API_SECRET=
API_HOST=
```