Skip to main content

Closed caption converter

Project description

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.

Changelog

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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycaption-1.0.4.tar.gz (281.7 kB view details)

Uploaded Source

Built Distribution

pycaption-1.0.4-py3-none-any.whl (307.3 kB view details)

Uploaded Python 3

File details

Details for the file pycaption-1.0.4.tar.gz.

File metadata

  • Download URL: pycaption-1.0.4.tar.gz
  • Upload date:
  • Size: 281.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.10

File hashes

Hashes for pycaption-1.0.4.tar.gz
Algorithm Hash digest
SHA256 3ec813e6056226456e5cfc6e6d695a3cca04b173e59590f0ed1f61b4c648af21
MD5 63640ff21b23db76ff41fa82a23aa51a
BLAKE2b-256 69e823991669d9e2cf8ed837c4800fc33d7257bd68b4b8a882c81cfce7536eea

See more details on using hashes here.

File details

Details for the file pycaption-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: pycaption-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 307.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.10

File hashes

Hashes for pycaption-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0bcf39de9e9d72090ab13b4ac69c3a163be3232c37c2d438bf7de10b146d27d0
MD5 37ece97e41d59f21ee101814306d2668
BLAKE2b-256 47b26156cdaaa928e435930be58a3e35f388d063366bc263c31af80a574ad808

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page