{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"},{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"},{"label":"Video","url":"https://skillfed.io/packages/category/multimedia-video"}],"enrichment":{"capability":"pysubs2 loads, edits, and saves subtitle files in multiple formats including SubStation Alpha, SubRip, MicroDVD, MPL2, TMP, WebVTT, TTML, SAMI, and OpenAI Whisper captions, with a CLI tool for batch conversion and retiming.","skillfed_tags":["subtitle-editing","format-conversion","video-processing"],"use_cases":["Batch convert subtitle files between formats (e.g., SRT to ASS) across a directory.","Programmatically adjust subtitle timings in response to video edits or synchronization issues.","Parse and modify subtitle text, styling, or metadata within a video processing workflow.","Integrate subtitle handling into a video editor or caption management application.","Process OpenAI Whisper-generated captions and convert them to standard subtitle formats."],"what_it_does":"pysubs2 is a Python library for reading, editing, and writing subtitle files across multiple formats. It centers on SubStation Alpha (the native format of Aegisub) but also handles SubRip, MicroDVD, MPL2, TMP, WebVTT, TTML, SAMI, and OpenAI Whisper captions. The library provides both a programmatic API for subtitle manipulation\u2014loading files, shifting timings, modifying text and styling\u2014and a command-line tool for batch conversion and retiming tasks.\n\nThe package has no external runtime dependencies, making installation straightforward. It is actively maintained, production-stable, and supports current Python versions. The MIT license places no restrictions on use, modification, or distribution. It is well-suited for developers building video processing pipelines, subtitle editors, or tools that need to work with captions in multiple formats.","worth_installing":"Yes. pysubs2 is a stable, actively maintained library with zero dependencies, broad format support, and a permissive license. Install it if you need to programmatically work with subtitles or build subtitle conversion and retiming tools. The low friction and production-ready status make it a straightforward choice for subtitle-related tasks."},"id":"pysubs2","links":{"html":"https://skillfed.io/packages/pysubs2","md":"https://skillfed.io/packages/pysubs2.md","pypi":"https://pypi.org/project/pysubs2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-19","license_spdx":"MIT","license_treatment":"permissive","name":"pysubs2","python_support":"supports_current","summary":"A library for editing subtitle files"},"popularity":{"monthly_downloads":263983,"position":8347,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.8.1"}
