Skip to main content

Video Utils

Current version Downloads

Build status codecov

This library provides utilities for dealing folders full of video files, including parsing out all metadata and intelligent caching.

Example Usage

from video_utils import FileMap

def run():
    f = FileMap("/path/to/videos")
    f.load() # By default, this will load the cached metadata, and then update files that have changed in size

    for directory in f.contents:
        for video in f.contents[directory]:
            codec = video.codec
            print(codec.pretty_name) # x265
            print(video.quality) # 1080p
            print(video.full_path)
            print(video.size) # in bytes
            print(video)
            video.refresh() # force a refresh of the video metadata, will only occur if filesize has changed.

run()

Metadata

Release files for video_utils 2.5.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 video_utils 2.5.3
File Size Uploaded Provenance Actions
video_utils-2.5.3.tar.gz 37.1 kB Without provenance Details for video_utils-2.5.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for video_utils 2.5.3
File Interpreter ABI Platform Actions
video_utils-2.5.3-py3-none-any.whl Python 3 none any Details for video_utils-2.5.3-py3-none-any.whl

Total release size: 46.7 kB

Release files / video_utils-2.5.3.tar.gz

Download URL video_utils-2.5.3.tar.gz
Size 37.1 kB
Tags Source
SHA-256 checksum
How to use checksums
42b2832c8affacd1cc8a5773f2bd8cad926269fb73428484cb6992b8fd9f908e
BLAKE2b-256 checksum
How to use checksums
e3d0f31b684dd675dd0c0253850c161608d4cfdadad27e090a1816d89feb29ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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 / video_utils-2.5.3-py3-none-any.whl

Download URL video_utils-2.5.3-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd837f61eb98b7759ca2681cbce59e29e4c0c924fc162bf9843ea8d7b8f903b7
BLAKE2b-256 checksum
How to use checksums
757f79e9b1ba40fd8a51c1e91d1d611458032c0774ab9e1a7f825b2a5976e2fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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 video_utils 2.5.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.

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

2.5.3 This release

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