semvec/pypi-packages huggingface dataset:
swift-pkg-YOUR-USERNAME 0.0.3
A small swift package
Requires Python: >=3.6

# swift Package
#在此文件内，可使用markdown撰写对包的详细介绍和说明，便于别人熟悉和使用，在此不再赘述
This is a simple swift package. You can use
[Github-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
to write your content.
mjpeg-http-streamer 0.0.5
A tool to create a http mjpeg stream from a plain mjpeg stream.
Requires Python: >=3.6

# mjpeg-http-streamer

![Build](https://github.com/andrekupka/mjpeg-http-streamer/actions/workflows/build-and-release.yaml/badge.svg)
![Release](https://img.shields.io/github/v/release/andrekupka/mjpeg-http-streamer)

A small python tool that reads a plain MJPEG stream from `stdin` and publishes it as http MJPEG stream.
It can be used in combination with `libcamera` on a Raspberry Pi to create a http stream for [OctoPrint](https://octoprint.org/).

## Installation

Installation is done via `pip`.

```bash
pip install mjpeg-http-streamer
```

## Usage

Example invocation on a Raspberry PI:

```bash
libcamera-vid -t 0 --inline --codec mjpeg -o - \
  | python3 -m mjpeg_http_streamer -l <host> -p 8080
```

The HTTP stream can be received by opening the url `http://<host>:8080/stream`.
Further a single snapshot can be retrieved using `http://<host>:8080/snapshot`.

In production use cases it is advised to host `mjpeg-http-streamer` behind a reverse proxy like nginx.