Python3 library to perform basic actions on subtitle (*.srt) files. This library utilizes the googletrans library (https://github.com/ssut/py-googletrans). Install using:
$ pip3 install googletrans
The example below shows how to use the library.
from subtitle.subtitle import Subtitle
subtitle = Subtitle()
subtitle.translate('subs.srt')