Metadata-Version: 2.1
Name: pywebvtt
Version: 0.1.0
Summary: webvtt subtitle parser to traversable data struct
Author: AbhishekKr
Author-email: abhikumar163@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Description-Content-Type: text/markdown


## pywebvtt

> to parse WebVTT subtitle file into a traversable data structure

* to run tests `poetry install && poetry run pytest`

* to run example `poetry install && poetry run python examples/parse-sample.py`

* sample usage

```
import pywebvtt


scenes = pywebvtt.ParseFile('sample.vtt')
for s in scenes:
    # every scene has: s.start, s.end, s.start_millisec, s.end_millisec, s.transcript
    print(s.string())
```

---

