pysrt is a Python library used to edit or create SubRip files.