
Pysrt can be used to edit or create SubRip (.srt) subtitle files from Python. It supports parsing, shifting, removing, slicing, spliting and rescaling of these files.
This is the Python 2 version of the package.
It also contains the "srt" binary to interact with this library.