{"library":"pysubs2","type":"library","category":null,"description":"pysubs2 is an actively maintained Python library (current version 1.8.1) for editing subtitle files. It supports various formats including SubStation Alpha (ASS/SSA), SubRip (SRT), MicroDVD, MPL2, TMP, WebVTT, TTML, SAMI, and OpenAI Whisper captions. It offers both an API for programmatic manipulation and a small CLI tool for batch conversion and retiming. The library is typically released as new features are added or bugs are fixed, without a strict time-based cadence.","language":"python","status":"active","version":"1.8.1","tags":["subtitle","video","media","editing","srt","ass","webvtt","substation-alpha"],"install":[{"cmd":"pip install pysubs2","imports":["from pysubs2 import SSAFile","from pysubs2 import SSAEvent","from pysubs2 import make_time","from pysubs2 import load","import pysubs2"]}],"homepage":null,"github":"https://github.com/tkarabela/pysubs2","docs":"https://pysubs2.readthedocs.io","changelog":null,"pypi":"https://pypi.org/project/pysubs2/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.18,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pysubs2/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}