{ "info": { "author": "Alejandro Mendez", "author_email": "amendez23@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "webvtt-py\n=========\n\n.. image:: https://img.shields.io/pypi/v/webvtt-py.svg\n :target: https://pypi.python.org/pypi/webvtt-py\n\n.. image:: https://travis-ci.org/glut23/webvtt-py.svg?branch=master\n :target: https://travis-ci.org/glut23/webvtt-py\n\n.. image:: https://readthedocs.org/projects/webvtt-py/badge/?version=latest\n :target: http://webvtt-py.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n``webvtt-py`` is a Python module for reading/writing WebVTT_ caption files. It also features caption segmentation useful when captioning `HLS videos`_.\n\nRequires Python 3.4+.\n\nDocumentation is available at http://webvtt-py.readthedocs.io.\n\n.. _`WebVTT`: http://dev.w3.org/html5/webvtt/\n.. _`HLS videos`: https://tools.ietf.org/html/draft-pantos-http-live-streaming-19\n\nInstallation\n------------\n\n::\n\n $ pip install webvtt-py\n\nUsage\n-----\n\n.. code-block:: python\n\n import webvtt\n\n for caption in webvtt.read('captions.vtt'):\n print(caption.start)\n print(caption.end)\n print(caption.text)\n\nSegmenting for HLS\n------------------\n\n.. code-block:: python\n\n import webvtt\n\n webvtt.segment('captions.vtt', 'output/path')\n\nConverting captions from other formats\n--------------------------------------\n\nSupported formats:\n\n* SubRip (.srt)\n* YouTube SBV (.sbv)\n\n.. code-block:: python\n\n import webvtt\n\n webvtt = webvtt.from_srt('captions.srt')\n webvtt.save()\n\n # one liner if we just need to convert without editing\n webvtt.from_sbv('captions.sbv').save()\n\nCLI\n---\nCaption segmentation is also available from the command line:\n::\n\n $ webvtt segment captions.vtt --output destination/directoy\n\nLicense\n-------\n\nLicensed under the MIT License.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/glut23/webvtt-py", "keywords": "webvtt captions", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "webvtt-py", "package_url": "https://pypi.org/project/webvtt-py/", "platform": "", "project_url": "https://pypi.org/project/webvtt-py/", "project_urls": { "Homepage": "https://github.com/glut23/webvtt-py" }, "release_url": "https://pypi.org/project/webvtt-py/0.4.2/", "requires_dist": [ "docopt" ], "requires_python": "", "summary": "WebVTT reader, writer and segmenter", "version": "0.4.2" }, "last_serial": 3943737, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b246ef67a96bec6ddbef6ca7b56cd033", "sha256": "8ba3a5936b1a79ff55f705d4a568236946000b220b49247081b489ea94cbcc8c" }, "downloads": -1, "filename": "webvtt_py-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b246ef67a96bec6ddbef6ca7b56cd033", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8773, "upload_time": "2016-05-20T10:16:57", "url": "https://files.pythonhosted.org/packages/60/1d/363b1154475f4dd2f67cac6c1538a976fcb45ba9d30c9c211c58df298a37/webvtt_py-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e3a1e2013ee44093dd9016622eb497bb", "sha256": "09e43f27da61c5bbeff5f68548a72899d500598e30f38d9efa72330465afb585" }, "downloads": -1, "filename": "webvtt-py-0.1.zip", "has_sig": false, "md5_digest": "e3a1e2013ee44093dd9016622eb497bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10533, "upload_time": "2016-05-20T10:17:09", "url": "https://files.pythonhosted.org/packages/13/61/160c89a4f72e708419d081b5ee049d3862b9a0a3a6aedf9cda13a85ca728/webvtt-py-0.1.zip" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5b4d6cf0f4b9474623db783e28e0f4bb", "sha256": "72aa01a9ee7bd5899ea2b525ed71847160dd57f63133f7b7f47214bba6529409" }, "downloads": -1, "filename": "webvtt_py-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5b4d6cf0f4b9474623db783e28e0f4bb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8416, "upload_time": "2016-05-23T11:11:58", "url": "https://files.pythonhosted.org/packages/9e/f7/f298d34931e1add7799e05fd7d89d50a40eee6555d4ec6488f10e4792603/webvtt_py-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c3086b8e9d6c24c0458dcfb579aad52", "sha256": "15bcd67c58ecb95a344a4872fbc892a407b570355b7d930fe5df86082ace46d3" }, "downloads": -1, "filename": "webvtt-py-0.2.0.zip", "has_sig": false, "md5_digest": "6c3086b8e9d6c24c0458dcfb579aad52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10444, "upload_time": "2016-05-23T11:15:11", "url": "https://files.pythonhosted.org/packages/fb/7b/c7807510c8a941f23cb0892f993671e69973a2e7cc313e8c6f93eda36475/webvtt-py-0.2.0.zip" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f19c2aeed6acd8769b99408990b2e9bc", "sha256": "77124b4b4d7e804463a077420b2668cbc0e632c27643ac3633138521c7b2c065" }, "downloads": -1, "filename": "webvtt_py-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f19c2aeed6acd8769b99408990b2e9bc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10388, "upload_time": "2016-06-02T13:27:59", "url": "https://files.pythonhosted.org/packages/92/a1/378995b6c93277e19f8d6cb3133970461cf0923ad5c169f733d033b515b3/webvtt_py-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d04e1c5f368994ece1471656d9f299d", "sha256": "4f0d6dbbe77b3d2f7aec414f1fc71a92ec636d4bd27623be1499747538f8ff12" }, "downloads": -1, "filename": "webvtt-py-0.3.0.zip", "has_sig": false, "md5_digest": "7d04e1c5f368994ece1471656d9f299d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12721, "upload_time": "2016-06-02T13:32:40", "url": "https://files.pythonhosted.org/packages/cd/80/46c4e7e057761d7e82e9b174748c7b76a7ef0d08975e7b5513ecdc9eff47/webvtt-py-0.3.0.zip" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "ea5e67677f1f60feb3b93748eb94c7f7", "sha256": "f3f39a4c74db32e017f032119d484346799f0aba39bfafae534df96c0ed76613" }, "downloads": -1, "filename": "webvtt_py-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ea5e67677f1f60feb3b93748eb94c7f7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10405, "upload_time": "2017-08-08T20:10:54", "url": "https://files.pythonhosted.org/packages/8c/09/b66e04708719f9c19a28fe212e13528bfa5340d4d5c0c31f0b23315cb041/webvtt_py-0.3.1-py3-none-any.whl" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "3017a6cf5425eb3f9e65322b9a5316ae", "sha256": "422fc31c878248efe860da4d75e67bb8131aaccc8abbaf5297420189a48bce42" }, "downloads": -1, "filename": "webvtt_py-0.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "3017a6cf5425eb3f9e65322b9a5316ae", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10372, "upload_time": "2017-08-11T19:47:27", "url": "https://files.pythonhosted.org/packages/99/9d/871e10473992f88292df94739a5b9c0f9e5fd576565c940b0e5b9462f87d/webvtt_py-0.3.2-py3-none-any.whl" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "89bfe6cecf8d78b20e9199d95359b2c0", "sha256": "017013b2b9d9b0b2ba64a9e2244179fd69b0bb3c835564b1a1b7427f95d7aa4e" }, "downloads": -1, "filename": "webvtt_py-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "89bfe6cecf8d78b20e9199d95359b2c0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10469, "upload_time": "2017-08-23T22:27:37", "url": "https://files.pythonhosted.org/packages/6a/9f/b9d6321b5ce78a358d6bd48f8e2d176a1945c85a368013ad214ec4e0457f/webvtt_py-0.3.3-py3-none-any.whl" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "9e52426346a12c5c4363fe2f051c4118", "sha256": "c7e023dc38c2c28c73dfd1b1e60c0d447601a762e343e720117806a540554756" }, "downloads": -1, "filename": "webvtt_py-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9e52426346a12c5c4363fe2f051c4118", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12426, "upload_time": "2017-09-18T21:22:59", "url": "https://files.pythonhosted.org/packages/59/90/db727570b24644698d8365088914698e00e3d71017a5933367a32fc3706b/webvtt_py-0.4.0-py3-none-any.whl" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "d62ce405129a39796e29b964ea43a35a", "sha256": "d35836e596f26040717bbbe4944138408690366a0adf8d7db384cda601967c8d" }, "downloads": -1, "filename": "webvtt_py-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d62ce405129a39796e29b964ea43a35a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12449, "upload_time": "2017-12-24T16:42:08", "url": "https://files.pythonhosted.org/packages/bc/f3/7cbb55147789ba7055e10ce22af26ce4c8e5fdc0f55e5760af7629cbe11e/webvtt_py-0.4.1-py3-none-any.whl" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "50e4eac1a6eb997b686e8ccae44ebfca", "sha256": "90ebe1c7be9a782cfb3895b3d3808b9ec732fcd1a5f3b0a19e87e3231a8197b2" }, "downloads": -1, "filename": "webvtt_py-0.4.2-py3-none-any.whl", "has_sig": false, "md5_digest": "50e4eac1a6eb997b686e8ccae44ebfca", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14127, "upload_time": "2018-06-08T19:05:14", "url": "https://files.pythonhosted.org/packages/af/95/050a74d5d1ef1b150cbdadaa4fedf9fa8d1ee6aa94222de5550a734ac3ef/webvtt_py-0.4.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "50e4eac1a6eb997b686e8ccae44ebfca", "sha256": "90ebe1c7be9a782cfb3895b3d3808b9ec732fcd1a5f3b0a19e87e3231a8197b2" }, "downloads": -1, "filename": "webvtt_py-0.4.2-py3-none-any.whl", "has_sig": false, "md5_digest": "50e4eac1a6eb997b686e8ccae44ebfca", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14127, "upload_time": "2018-06-08T19:05:14", "url": "https://files.pythonhosted.org/packages/af/95/050a74d5d1ef1b150cbdadaa4fedf9fa8d1ee6aa94222de5550a734ac3ef/webvtt_py-0.4.2-py3-none-any.whl" } ] }