PYPI PACKAGE AUDIT v0.4.1 Enterprise Healthy

porter-workflow

Automated video localization, local/API ASR, subtitle translation, and dual-version FFmpeg hardsub workflow with a native Gradio WebUI.

PyPkgScore porter-workflow
Methodology & Criteria ♥ Donate
855 / 1000
Quick Install
pip install porter-workflow
1. Governance
100/200
2. PEP Metadata
200/200
3. Security
200/200
4. Docs & SEO
155/200
5. CI Engineering
200/200
📣 Share Audit: Share this report and visual preview in the current language
Advertisement
PYPI TELEMETRY

Downloads & Community Adoption

Last 30 days (without mirrors)
Last 7 days
291
Last 30 days
541
Total (180 days)
1531
Metric / Ecosystem Status / Value Source
Downloads (30d / 180d) — PyPI Stats (without mirrors)
Trusted Publishing (PEP 740) ✓ Verified OIDC PyPI Integrity / Sigstore
Django Packages — djangopackages.org
PyTech / PyPkgScore 855 / 1000 PyPkgScore Engine

Health & Engineering Analysis (5 Pillars)

1. Governance & Community100 / 200 ▾
LICENSE✓ 50 pts
SECURITY.md✕ 0 pts
CONTRIBUTING.md✓ 50 pts
CODE_OF_CONDUCT.md✕ 0 pts
2. PEP Metadata & Packaging200 / 200 ▾
Wheel (.whl)✓ 50 pts
pyproject.toml✓ 50 pts
Project URLs✓ 50 pts
Trove Classifiers✓ 50 pts
3. Security & Supply Chain200 / 200 ▾
Zero CVEs (OSV)✓ 60 pts
Trusted Publishing (OIDC)✓ 50 pts
Snyk / Audit Link✓ 40 pts
HTTPS Repository✓ 50 pts
4. Documentation, SEO & Ecosystem155 / 200 ▾
Structured README✓ 60 pts
Read the Docs✓ 50 pts
Django Packages✕ 0 pts
Website / Technical Articles✓ 45 pts
5. Engineering, CI & Quality200 / 200 ▾
Automated Tests✓ 65 pts
GitHub Actions CI✓ 65 pts
CHANGELOG.md✓ 35 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)✓ 35 pts
Advertisement
README & DOCS

Official Documentation & Usage Guide — porter-workflow

PyPI Metadata v0.4.1
Show full original documentation (English README) ▾

Porter Workflow turns video URLs (YouTube, Bilibili, TikTok, X/Twitter, Instagram) or local media/subtitles into bilingual & Chinese subtitles and hard-subbed MP4s. Plan first, one capability per stage (no silent runtime fallback); offline Whisper (faster-whisper), key-free translation, LLM adapters, and 1080p target quality ship in the base package, while Gradio stays optional in [web].

Prerequisites

  • Python 3.11–3.13 (or uv)
  • FFmpeg + ffprobe with libass on PATH (ffmpeg -filters | grep subtitles)
  • Deno (recommended) or Node ≥ 20 on PATH for YouTube

Quickstart

WebUI Workbench

uv tool install "porter-workflow[web]" && porter   # http://127.0.0.1:7860
# or run without installing:
uvx --from "porter-workflow[web]" porter

Agent Skill

npx skills add RolinShmily/porter-workflow

Installs skills/porter-workflow/ — a self-contained JSON CLI over the published PyPI package (auto-bootstrapped via uv).

Python Core API

pip install porter-workflow
from porter import plan_source, run_plan

plan = plan_source("https://www.youtube.com/watch?v=...", quality="1080p", burn="dual")
if plan.feasible:
    print(run_plan(plan).workflow.artifacts)

Supported Sources

Source Examples Native Subtitles Notes
YouTube youtube.com, youtu.be Yes Needs Deno or Node ≥ 20
Bilibili bilibili.com, b23.tv Yes High quality / CC may need cookies
TikTok tiktok.com, vm.tiktok.com Yes —
X / Twitter x.com, twitter.com No Uses ASR (faster-whisper by default)
Instagram instagram.com No Uses ASR; gated reels may need cookies
Local files .mp4 / .wav / .srt / .vtt Optional (--subtitle-file) Subtitles run without FFmpeg

Output Layout

porter_output/<video_id>_<safe_title>/
├── raw/        video.mp4, audio.wav, transcript.json/.txt, subtitle.srt, cover.jpg, metadata.json
├── cooked/     subtitle_{bilingual,zh}.{srt,ass}, video_{bilingual,zh}.mp4
└── .tmp/       scratch (safe to delete between runs)

Documentation

Document Scope
docs/architecture.md Layers, workflow & pipeline, media, subtitles, and jobs
docs/design.md Architectural rationale & key trade-offs
docs/reference.md Python API (import porter), WebUI CLI flags & Skill reference links
docs/development.md Setup, four gates, extending, licence rules, and release

Also see skills/porter-workflow/SKILL.md, CONTRIBUTING.md, and CHANGELOG.md.

Acknowledgements

Built on and inspired by yt-dlp, FFmpeg & libass, faster-whisper, VideoCaptioner, Gradio, and Pydantic.

License

MIT — see LICENSE.