Skip to main content

vtt_to_srt.py

useful python script for Python 2.7

convert all vtt files to srt subtitle format

Usage from terminal:

	vtt_to_srt.py pathname [-r]

	pathname - a file or directory with files to be converted 

	-r       - walk path recursively                          

As a lib:

Installation:

	pip install --user vtt_to_srt

Usage:

	# convert vtt file

	from vtt_to_srt import vtt_to_srt
	path = '/path/to/file.vtt'
	vtt_to_srt(path)


	# recursively convert all vtt files in directory

	from vtt_to_srt import vtts_to_srt
	path = '/path/to/directory'
	vtts_to_srt(path, rec = True)

Metadata

Release files for vtt-to-srt 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for vtt-to-srt 0.7.1
File Interpreter ABI Platform Actions
vtt_to_srt-0.7.1-py2-none-any.whl Python 2 none any Details for vtt_to_srt-0.7.1-py2-none-any.whl

Release files / vtt_to_srt-0.7.1-py2-none-any.whl

Download URL vtt_to_srt-0.7.1-py2-none-any.whl
Size 3.0 kB
Tags Python 2
SHA-256 checksum
How to use checksums
9f5f62ca3d0df6edbd5462de8def8898d6ae6f08c7a552e40a6e7db0fb24bb3e
BLAKE2b-256 checksum
How to use checksums
ad17bb4e7d791a11b8261b272ba18e82d24620fac4a7aca2b471ddc743c3ac31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.12

Security for vtt-to-srt 0.7.1

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.

Release history Release notifications | RSS feed

This release

0.7.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page