Closed caption converter
pycaption is a caption reading/writing module. Use one of the given Readers to read content into a CaptionSet object, and then use one of the Writers to output the CaptionSet into captions of your desired format.
Tested with Python 3.4 and 3.5. (for Python 2 use pycaption < 1.0.0)
For details, see the documentation.
This module is Copyright 2012 PBS.org and is available under the Apache License, Version 2.0.