{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"},{"label":"Video","url":"https://skillfed.io/packages/category/multimedia-video"}],"enrichment":{"capability":"pysrt parses, edits, and writes SubRip (.srt) subtitle files, offering both a Python library API and a command-line tool for shifting, splitting, and rescaling subtitles.","skillfed_tags":["subtitle-editing","video-processing","cli-tool"],"use_cases":["Batch-shift subtitle timing across a media library to correct sync issues with video files.","Rescale subtitles from one frame rate to another (e.g., 23.9 fps to 25 fps) for format conversion.","Programmatically edit or filter subtitle text and timing in video processing pipelines.","Extract and manipulate subtitle metadata (start/end times, text) for analysis or re-encoding.","Command-line subtitle adjustment without writing code (srt shift, split, rate commands)."],"what_it_does":"pysrt is a Python library for reading, modifying, and writing SubRip subtitle files. It exposes subtitles as a list-like collection of editable items, each with text, start time, and end time properties. You can shift all subtitles forward or backward in time, rescale them to match different frame rates, slice ranges, or edit individual entries. The package also includes an srt command-line tool for common operations like time-shifting and frame-rate conversion without writing code.\n\nThe library is mature and stable but abandoned\u2014the last release was in January 2020 and the repository shows no recent commits. It has no external runtime dependencies, making installation straightforward on systems with build tools. The GPLv3 license is copyleft, so derivative works must also be open-source. It is suitable for stable, read-only subtitle workflows but not recommended for projects requiring active maintenance or bug fixes.","worth_installing":"Yes, if your use case is stable and read-only (parsing, shifting, rescaling existing .srt files). The library is mature, dependency-free, and widely used. No, if you need active maintenance, bug fixes, or support for modern Python versions beyond what the classifiers claim. The GPLv3 license is a hard blocker for proprietary software. The high install friction (source-only) may complicate deployment on some platforms."},"id":"pysrt","links":{"html":"https://skillfed.io/packages/pysrt","md":"https://skillfed.io/packages/pysrt.md","pypi":"https://pypi.org/project/pysrt/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-01-20","license_spdx":null,"license_treatment":"copyleft","name":"pysrt","python_support":"unspecified","summary":"SubRip (.srt) subtitle parser and writer"},"popularity":{"monthly_downloads":508478,"position":6278,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.2"}
