vttdiff
This is a small utility for "diffing" two (or more) WebVTT files and generating an HTML file like this. It was designed for comparing a "ground truth" WebVTT file with WebVTT files that might have been created with different software or services.
usage: vttdiff [-h] [--output OUTPUT] [--include-times] [--width WIDTH] vtt [vtt ...]
positional arguments:
vtt The path to two (or more) WebVTT files
options:
-h, --help show this help message and exit
--output OUTPUT Write output to this file path
--compare-times Include cue times in the diff
--width WIDTH The default width (in characters) of each transcript in the diff
So you could run it like:
% vttdiff --output diff.html first.vtt second.vtt
Install
You should be able to pip install vttdiff:
$ pip3 install vttdiff
or just run it directly:
$ pipx run vttdiff
Develop
vttdiff uses Python's difflib and is held together by duct tape and baling wire. If you have ideas for improving it please send a PR!
$ git clone git@github.com:edsu/vttdiff.git
$ uv run pytest
Metadata
Release files for vttdiff 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vttdiff-0.0.4.tar.gz | 3.4 kB | Without provenance | Details for vttdiff-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vttdiff-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for vttdiff-0.0.4-py3-none-any.whl |
Total release size: 7.6 kB
Release files / vttdiff-0.0.4.tar.gz
| Download URL | vttdiff-0.0.4.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9e93abf350ebce48b2d11ff74affb9621aea74b8766cbfe154000665860a2df
|
|
BLAKE2b-256 checksum How to use checksums |
44815ce513f00e0cff7d89487c1d48caafe4a20770c653d5f9b3729db6bd049d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vttdiff-0.0.4-py3-none-any.whl
| Download URL | vttdiff-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83c23a5ba1eec8e4152018e367213ce303e6c748feb1945cd2325184c2d1289b
|
|
BLAKE2b-256 checksum How to use checksums |
81024fbf2a6336807daf995773779446b5839ada94bc55ef042a56710093786f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for vttdiff 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.