# py-kit

Packages for media tools, HTTP clients, local APIs, model output checks and desktop measurement. Each one is published on PyPI with the uppercut- prefix.

- Language: Python
- Packages: 15 packages, 7 released
- Repository: https://github.com/uppercut-labs/py-kit
- Release status checked: November 25, 2026

A package marked Not released yet has its source and README on GitHub and no published version yet.

## Packages

### uppercut-beat-grid

Detect beats, downbeats and tempo into a JSON beat grid, align cut times to it, and render a beat-synced music bed.

- Language: Python
- Status: PyPI 0.1.0
- Source version: 0.1.0
- Install: `pip install uppercut-beat-grid`
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-beat-grid
- Release: https://pypi.org/project/uppercut-beat-grid/

### uppercut-contact-sheet

Build labelled contact-sheet grids from images and video frames with Pillow.

- Language: Python
- Status: PyPI 0.1.0
- Source version: 0.1.0
- Install: `pip install uppercut-contact-sheet`
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-contact-sheet
- Release: https://pypi.org/project/uppercut-contact-sheet/

### uppercut-ffmpeg-loudness

Measure integrated loudness and true peak with ffmpeg, then apply gain or normalize to a target.

- Language: Python
- Status: PyPI 0.1.0
- Source version: 0.1.0
- Install: `pip install uppercut-ffmpeg-loudness`
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-ffmpeg-loudness
- Release: https://pypi.org/project/uppercut-ffmpeg-loudness/

### uppercut-grounded-answers

Answer from retrieved evidence with typed provider failures, failover between providers and citation validation. Endpoints and model names are configuration.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-grounded-answers

### uppercut-http-retry

Retry HTTP calls on 429 and 5xx with exponential backoff and Retry-After, and poll an asynchronous operation until it finishes. Standard library only.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-http-retry

### uppercut-json-records

Canonical JSON and hashes, stable prefixed IDs, JSON and JSONL batch loading with clear errors, and JSON Schema validator loading.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-json-records

### uppercut-loopback-api

A small JSON API on 127.0.0.1 for a private app behind Tailscale Serve or another reverse proxy: Host allowlist, strict bodies, redacted logs, exclusive port bind.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-loopback-api

### uppercut-presentmon-measure

Run startup, idle and workload scenarios against a desktop app, record frame timing with Intel PresentMon and summarize it to JSON.

- Language: Python
- Status: PyPI 0.2.0
- Source version: 0.2.0
- Install: `pip install uppercut-presentmon-measure`
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-presentmon-measure
- Release: https://pypi.org/project/uppercut-presentmon-measure/

### uppercut-rawvideo-encoder

Pipe RGB frames from Pillow renders to ffmpeg as H.264, and check that ffmpeg succeeded.

- Language: Python
- Status: PyPI 0.1.1
- Source version: 0.1.1
- Install: `pip install uppercut-rawvideo-encoder`
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-rawvideo-encoder
- Release: https://pypi.org/project/uppercut-rawvideo-encoder/

### uppercut-redact

Scrub credential-shaped text (bearer tokens, key=value secrets, URL passwords) and mask or drop sensitive keys in logs, errors and telemetry. Standard library only.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-redact

### uppercut-revisioned-file

Atomic file writes (fsynced temporary file, os.replace, directory fsync) and a whole-file store with opaque revisions, 409-style conflicts and fsynced backups.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-revisioned-file

### uppercut-subprocess-runner

Run a subprocess with a timeout, an output cap and cancellation, and kill its whole process tree.

- Language: Python
- Status: PyPI 0.1.0
- Source version: 0.1.0
- Install: `pip install uppercut-subprocess-runner`
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-subprocess-runner
- Release: https://pypi.org/project/uppercut-subprocess-runner/

### uppercut-tts-worker

The JSON-lines protocol for a resident text-to-speech worker process, a GPU lock that queues, and a resumable job runner. Standard library only; no voice, sample or model is included.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-tts-worker

### uppercut-wave-gate

Run one prompt over many pieces with a pluggable model runner, count only output that passes a gate command, and refuse to start unless the gate rejects a known-bad sample.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-wave-gate

### uppercut-windows-window-capture

Capture one window on Windows with PrintWindow, as a Python module and a command line tool, to PNG or BMP.

- Language: Python
- Status: PyPI 0.1.0
- Source version: 0.1.0
- Install: `pip install uppercut-windows-window-capture`
- Source: https://github.com/uppercut-labs/py-kit/tree/main/packages/uppercut-windows-window-capture
- Release: https://pypi.org/project/uppercut-windows-window-capture/

All kits: https://kits.uppercut-labs.com/
