{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"},{"label":"Video","url":"https://skillfed.io/packages/category/multimedia-video"}],"enrichment":{"capability":"Parse, modify, and compose SRT subtitle files with support for broken or malformed files and Asian-style formats.","skillfed_tags":["subtitle-processing","video-metadata"],"use_cases":["Parse and extract subtitle timing and content from SRT files for video processing pipelines.","Repair or normalize malformed SRT files that other parsers reject, then re-export them.","Adjust subtitle timing (shift, scale) programmatically before re-encoding or remuxing.","Filter or transform subtitle lines based on language or content criteria using the included CLI tools.","Build subtitle manipulation features into video editing or transcription applications."],"what_it_does":"srt is a minimal Python library for working with SubRip subtitle files. It provides parsing, modification, and composition of SRT files through a simple object-oriented API, converting raw SRT text into Subtitle objects you can inspect and edit, then serialize back to SRT format. The library is designed to handle real-world SRT files that may be malformed or use non-standard formats, including Asian-style (fullwidth) variants.\n\nThe package includes both a library API and command-line tools for common subtitle tasks like filtering, time-shifting, and multiplexing. It has no external dependencies beyond the Python standard library, making it lightweight and portable across Linux, macOS, and Windows. The codebase is small (~200 lines excluding docstrings) with high test coverage, and it has been used in production by projects like subsync, NVIDIA RAD-TTS, and manim.","worth_installing":"Yes, if you need to work with SRT files. The library is stable, well-tested, and has no dependencies. High install friction (source distribution) is a minor drawback, but the package is lightweight and dormant maintenance is acceptable for a mature, focused tool. No security vulnerabilities and permissive licensing make it a low-risk choice."},"id":"srt","links":{"html":"https://skillfed.io/packages/srt","md":"https://skillfed.io/packages/srt.md","pypi":"https://pypi.org/project/srt/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-03-28","license_spdx":null,"license_treatment":"permissive","name":"srt","python_support":"supports_current","summary":"A tiny library for parsing, modifying, and composing SRT files."},"popularity":{"monthly_downloads":689259,"position":5337,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.5.3"}
