Metadata-Version: 1.0
Name: pysrt
Version: 0.2.6
Summary: SubRip (.srt) subtitle parser and writer
Home-page: http://github.com/byroot/pysrt
Author: Jean Boussier
Author-email: jean.boussier@gmail.com
License: GPLv3
Description: pysrt is a Python library used to edit or create SubRip files.
        
        Usage
        =====
        
        ::
        
        from pysrt import SubRipFile, SubRipItem, SubRipTime
        subs = SubRipFile.open('some/file.srt')
        subs[42].end.hours += 3
        subs[42].text = "Never end !"
        
        #equivalent
        part = subs.slice(ends_after=SubRipTime(0, 0, 40))
        part = subs.slice(ends_after=(0, 0, 40))
        part = subs.slice(ends_after={'seconds': 40})
        
        part.shift(seconds=-2)
        subs.save('other/path.srt', 'utf-8')
        
Keywords: SubRip srt subtitle
Platform: Independent
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Text Processing :: Markup
