pysrt is a Python library used to edit or create SubRip files. WWW: https://github.com/byroot/pysrt/