semvec/pypi-packages huggingface dataset:
plansi 0.0.4
plays videos as ansi
Requires Python: >=3.10

# 👾 plansi

Plays videos as ANSI, trying to keep the output as small and as castable
as possible.

## ▶ Usage

```bash
# play to terminal
uvx plansi video.mp4

# write to asciinema file
uvx plansi video.mp4 video.cast

# with options
uvx plansi video.mp4 --fps=15 --threshold=10 --debug
uvx plansi video.mp4 --cache-position --no-cache-style
```

## TODO - Version 0.1.0

### 🌐 Streaming & Input Sources
- **yt-dlp integration**: Auto-detect `http://`/`https://` URLs and use yt-dlp API to get direct streaming URLs
- **Fallback strategy**: Try ffmpeg first, fall back to yt-dlp if that fails
- **Webcam support**: Add `--camera` flag to treat input as webcam device
  - Linux: `/dev/video0` with v4l2
  - Windows: DirectShow device enumeration
  - macOS: AVFoundation device support

### 📺 Terminal & Display
- **SIGWINCH handling**: Resize video on terminal window resize during live playback
- **Cast file quantization**: Quantize existing .cast files

### 🔧 API Improvements
- **File-like object support**: Allow writing to BytesIO, StringIO for textual-asciinema
brds 0.12.0
Awesome brds created by brahle

# brds

[![CI](https://github.com/brahle/brds/actions/workflows/main.yml/badge.svg)](https://github.com/brahle/brds/actions/workflows/main.yml)

Bruno Rahle's Data Science library.

## Install it from PyPI

```bash
pip install brds
```

## Usage

```
Coming soon!
```

## Development

Read the [CONTRIBUTING.md](CONTRIBUTING.md) file.