Metadata-Version: 2.1
Name: pycaption
Version: 1.0.5
Summary: Closed caption converter
Home-page: https://github.com/pbs/pycaption
Author: Joe Norton
Author-email: joey@nortoncrew.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Topic :: Multimedia :: Video
Requires-Dist: beautifulsoup4 (<4.9,>=4.8.1)
Requires-Dist: lxml (>=3.2.3)
Requires-Dist: cssutils (>=0.9.10)
Requires-Dist: future
Requires-Dist: six (>=1.9.0)
Requires-Dist: enum34 ; python_version < "3.4"

py-caption
==========

|Build Status|

``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 <http://pycaption.readthedocs.org>`__.

Changelog
---------
1.0.5
^^^^^
- Added language parameter to WebVTTWriter
- Fix for TranscriptWriter merging words at caption boundary
- Updated documentation with positioning information
- Updated DFXP reader to fallback to the document's language if no language is present on individual <div>
- Introduced PYCAPTION_DEFAULT_LANG environment variable and set it to default to 'und'
- Fixed DFXPReader timestamp validation to accept frames and frames conversion to microseconds

1.0.4
^^^^^
- Included tests in PyPI tarball
- Ignore WebVTT empty cues instead of raising an exception
- Updated BeautifulSoup version to >=4.8.1,<4.9 and fixed failing tests
- Handled index error when sending bad timestamp for DFXP format

1.0.3
^^^^^
- Fixed issue with SCC reader including both special characters and their potential substitute
- Modified enum34 dependency to versions under Python 3.4
- Removed Python 3.4 and added 3.6, 3.7 and 3.8 to Travis tests

1.0.2
^^^^^
- Fixed typos in SCC positioning codes
- Added missing SCC positioning codes to positioning map

1.0.0
^^^^^
- Added Python 3 support

0.5.x
^^^^^
- Added positioning support
- Created documentation

License
-------

This module is Copyright 2012 PBS.org and is available under the `Apache
License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`__.

.. |Build Status| image:: https://travis-ci.org/pbs/pycaption.png?branch=master
   :target: https://travis-ci.org/pbs/pycaption


