Metadata-Version: 2.1
Name: vtt2text
Version: 0.1.1
Summary: A small package to clean up the content of a subtitle file to text
Home-page: https://github.com/vuanhtuan1012/vtt2text
Author: VU Anh Tuan
Author-email: vuanhtuan1012@outlook.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# vtt2text

[![vtt2text](https://img.shields.io/badge/repo-vtt2text-brightgreen)](https://github.com/vuanhtuan1012/vtt2text)
![Python](https://img.shields.io/badge/Python-3.6-blue.svg)
![MIT](https://img.shields.io/badge/license-MIT-important.svg)
![Size](https://img.shields.io/github/repo-size/vuanhtuan1012/vtt2text.svg)
![Contributors](https://img.shields.io/github/contributors/vuanhtuan1012/vtt2text.svg)

## Install

```
pip install vtt2text
```

## Usage

- `vtt2text.clean(filepath)`: return a clean text containing content of `vtt` file input.
- `vtt2text.tofile(filepath)`: save clean content to a text file. By default, the output file has extension `.txt` and the same name with the input file.

## Example

Click [here](https://github.com/vuanhtuan1012/vtt2text/blob/main/test.py) to see an example.

