Skip to content

Commit

Permalink
Merge pull request #63 from glut23/improvements
Browse files Browse the repository at this point in the history
Fixes
  • Loading branch information
glut23 authored May 15, 2024
2 parents c8eb6dc + 2ac0ac9 commit 0b0a231
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
41 changes: 27 additions & 14 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
webvtt-py
=========

.. image:: https://img.shields.io/pypi/v/webvtt-py.svg
:target: https://pypi.python.org/pypi/webvtt-py

.. image:: https://img.shields.io/pypi/pyversions/webvtt-py.svg
:target: https://pypi.python.org/pypi/webvtt-py

.. image:: https://img.shields.io/github/actions/workflow/status/glut23/webvtt-py/ci.yml

.. image:: https://codecov.io/gh/glut23/webvtt-py/branch/master/graphs/badge.svg?branch=master

.. image:: https://readthedocs.org/projects/webvtt-py/badge/?version=latest
:target: http://webvtt-py.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
|pypi| |pyversions| |license| |coverage| |build-status| |docs-status| |downloads|

``webvtt-py`` is a Python module for reading/writing WebVTT_ caption files. It also features caption segmentation useful when captioning `HLS videos`_.

Expand Down Expand Up @@ -79,4 +67,29 @@ Caption segmentation is also available from the command line:
License
-------

Licensed under the MIT License.
Licensed under the MIT License.

.. |pypi| image:: https://img.shields.io/pypi/v/webvtt-py.svg
:target: https://pypi.python.org/pypi/webvtt-py

.. |pyversions| image:: https://img.shields.io/pypi/pyversions/webvtt-py.svg
:alt: Supported Python versions
:target: https://pypi.python.org/pypi/webvtt-py

.. |license| image:: https://img.shields.io/pypi/l/webvtt-py.svg
:alt: MIT License
:target: https://opensource.org/licenses/MIT

.. |coverage| image:: https://codecov.io/gh/glut23/webvtt-py/graph/badge.svg?branch=master
:target: https://codecov.io/gh/glut23/webvtt-py

.. |build-status| image:: https://github.com/glut23/webvtt-py/actions/workflows/ci.yml/badge.svg?branch=master
:target: https://github.com/glut23/webvtt-py/actions/workflows/ci.yml

.. |docs-status| image:: https://readthedocs.org/projects/webvtt-py/badge/?version=latest
:target: http://webvtt-py.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. |downloads| image:: https://static.pepy.tech/badge/webvtt-py
:target: https://pepy.tech/project/webvtt-py
:alt: Downloads
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

import sys
from pathlib import Path
from datetime import date

# Add parent dir to path
parent_directory = Path(__file__).resolve().parent
parent_directory = Path(__file__).parent.parent.parent.resolve()
sys.path.append(str(parent_directory))

from datetime import date
import webvtt # noqa

# -- Project information
Expand Down

0 comments on commit 0b0a231

Please sign in to comment.