Skip to main content

vidtoolz-shorts

PyPI Changelog Tests License

Create shorts from long form videos

Installation

First install vidtoolz.

pip install vidtoolz

Then install this plugin in the same environment as your vidtoolz application.

vidtoolz install vidtoolz-shorts

Usage

type vidtoolz-shorts --help to get help

usage: vid shorts [-h] [-t TEXT_FILE] [-i [INPUT ...]] [-d TIME] [-st STARTAT]
                  [-r RATIO] [-o OUTPUT]
                  filename

Create shorts from long form videos

positional arguments:
  filename              File containing the list of files or .mp4 file which
                        is used for shorts

optional arguments:
  -h, --help            show this help message and exit
  -t TEXT_FILE, --text-file TEXT_FILE
                        Text file containing comments (default: None)
  -i [INPUT ...], --input [INPUT ...]
                        Text inputs (default: [])
  -d TIME, --time TIME  Duration of shorts in secs (default: 60)
  -st STARTAT, --startat STARTAT
                        Audio startat ex 30s or 1:15 or 1:24:30 (default: 0.0)
  -r RATIO, --ratio RATIO
                        Size Ratio: ex 9/16 (0.5625), 4/5 (0.8) or (default:
                        1.0)
  -o OUTPUT, --output OUTPUT
                        Path to save the trimmed video.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd vidtoolz-shorts
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

Metadata

Release files for vidtoolz-shorts 0.0.3

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

Source distribution (sdist)

Source distribution for vidtoolz-shorts 0.0.3
File Size Uploaded Provenance
vidtoolz_shorts-0.0.3.tar.gz 11.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for vidtoolz-shorts 0.0.3
File Interpreter ABI Platform
vidtoolz_shorts-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 21.1 kB

Release files / vidtoolz_shorts-0.0.3.tar.gz

Download URL vidtoolz_shorts-0.0.3.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d955217e2c75bb72be0f45e978f3aa3dd12f00c8ff114fdeb88909ca4ab84e3b
BLAKE2b-256 checksum
How to use checksums
fde14e3e44456accd1039d071c59240392b0f67c270e3018b0cac7695e5c28e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2025.

Transparency log

Release files / vidtoolz_shorts-0.0.3-py3-none-any.whl

Download URL vidtoolz_shorts-0.0.3-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8429984b1e9044b63a2acc98a6948d8788471d0a4b8343220939a1d088ed1d84
BLAKE2b-256 checksum
How to use checksums
198195d3c4b558edc2370f3cd3ac2dde73061922913d3fd484aeaf99d86cdf1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2025.

Transparency log

Security for vidtoolz-shorts 0.0.3

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vidtoolz_shorts-0.0.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2025.

Transparency log

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.0.3 This release

2 release files Full 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