{"id":20910037,"url":"https://github.com/joshdavham/srt-to-vtt","last_synced_at":"2026-04-27T14:03:38.451Z","repository":{"id":235893102,"uuid":"791474891","full_name":"joshdavham/srt-to-vtt","owner":"joshdavham","description":"Python package for converting .srt files to .vtt files.","archived":false,"fork":false,"pushed_at":"2024-04-29T18:12:44.000Z","size":27,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T01:51:03.098Z","etag":null,"topics":["convert","file","python","srt","subtitle","subtitles","vtt","webvtt"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/srt-to-vtt/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshdavham.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-24T19:33:43.000Z","updated_at":"2025-10-14T05:30:43.000Z","dependencies_parsed_at":"2024-04-24T21:02:27.495Z","dependency_job_id":"5dbc191e-4885-440a-aca8-00cc23eb2b09","html_url":"https://github.com/joshdavham/srt-to-vtt","commit_stats":null,"previous_names":["joshdavham/srt-to-vtt"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/joshdavham/srt-to-vtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdavham%2Fsrt-to-vtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdavham%2Fsrt-to-vtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdavham%2Fsrt-to-vtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdavham%2Fsrt-to-vtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshdavham","download_url":"https://codeload.github.com/joshdavham/srt-to-vtt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdavham%2Fsrt-to-vtt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32339290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["convert","file","python","srt","subtitle","subtitles","vtt","webvtt"],"created_at":"2024-11-18T14:13:44.251Z","updated_at":"2026-04-27T14:03:38.426Z","avatar_url":"https://github.com/joshdavham.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPi](https://img.shields.io/pypi/v/srt-to-vtt)](https://pypi.org/project/srt-to-vtt/) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n# srt-to-vtt\n\nPython package to enable easy conversion of .srt files to .vtt files.\n\n## Install\n\nsrt-to-vtt is available on [PyPI](https://pypi.org/project/srt-to-vtt/) and you can install the latest version with\n```\npip install srt-to-vtt\n```\n\n## Basic usage\n\n### Import as a module within python\n```python\nfrom srt_to_vtt import srt_to_vtt\n\npath_to_my_srt_file = \"example.srt\"\npath_to_converted_vtt_file = \"output.vtt\"\n\n# converts example.srt into output.vtt\nsrt_to_vtt(path_to_my_srt_file, path_to_converted_vtt_file)\n\n```\n\n### Execute from CLI\n```\nstv -i example.srt -o output.vtt\n```\n\n## Develop\n\nClone this repo and then, at the root, install the package in ediable mode with\n```\npip install -e .\n```\nYou can now make changes to the package source code found in `srt-to-vtt/srt_to_vtt/` and see them reflected immediately.\n\n## Format, build, test and distribute\n\nBefore doing anything else, make sure to bump the version number under `[project]` in `pyproject.toml`. Please use [semantic versioning](https://semver.org/).\n\n\n\nThen, install the build requirements with\n```\npip install -r build_requirements.txt\n```\n\n### Format\n\nThis project adheres to the [Black](https://github.com/psf/black) code style. You can automatically refomat your code to Black by executing the following in the root directory of this repo:\n```\nblack .\n```\n\n### Build\nThen, to build, run\n```\npython -m build\n```\n\n### Test\n\nAfter building the package, install it with\n\n```\npip install dist/srt_to_vtt-#.#.#-py3-none-any.whl\n```\n\nYou may now run the tests by simply executing\n```\npytest\n```\n\n### Distribute\n\nAssuming that all the tests are passing, the package is now ready to be released on PyPI!\n\nOpen a pull request on the main branch and, if approved and merged, the package will be automatically updated on PyPI after the next Release is published on GitHub.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdavham%2Fsrt-to-vtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshdavham%2Fsrt-to-vtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdavham%2Fsrt-to-vtt/lists"}