Skip to main content

Vestra

A Rust engine for layer-based video composition and rendering, with a Python API.

Vestra version on PyPI MIT license CI status

A tile animation edited in Neovim, followed by compositing, audio-reactive motion, and video editing examples

Full video · Demo source · Documentation

Quick start

In a Python project with CPython 3.11–3.14, install Vestra with uv. See the installation guide for pip and supported platforms.

uv add vestra

Save the moving-tile example from the hero as example.py.

from vestra import Interpolation, Project, Rectangle

project = Project(
    size=(960, 540),
    fps=30,
    duration=2,
    background="#101c24",
)
track = Rectangle(width=640, height=6, fill="#36545b")
project.root.add(track)

tile = project.root.add(
    Rectangle(
        width=200,
        height=120,
        corner_radius=20,
        fill="#b8e3bc",
    )
)

move = tile.transform.position
ease = Interpolation.EASE_IN_OUT
move.keyframe(0, (0.25, 0.5))
move.keyframe(1, (0.75, 0.5), interpolation=ease)

project.render("out.mp4", backend="cpu")
uv run python example.py

This writes a two-second animation to out.mp4 in the current directory.

Why

Vestra actually started because of another project I was working on. I needed to generate videos programmatically, so I tried MoviePy first. It worked, but I wasn't particularly happy with the performance, and doing more complex compositions would've required quite a bit of extra code.

I tried MLT and OpenShot as well, but found both pretty difficult to work with. Remotion looked interesting, but I didn't want to use Node.js.

I kept looking for other options on and off for almost two months while working on other things. Eventually, I decided to just write my own video engine.

I don't have much experience with video editing, apart from a few months with After Effects and Premiere Pro. That's mostly where the ideas behind Vestra came from.

And now I can actually use it for the project that started all of this.

Features

Comparison with MoviePy

Tool When to use it
Vestra Build a layered composition with keyframes and masks, or reuse an animated layout with different footage and text.
MoviePy Trim and join clips in a Python script, or process each frame with a custom Python function.

See the render benchmarks for measured render times, workloads, and hardware.

AI use disclaimer

I use LLMs extensively while building Vestra. I decide what goes into the project, spend time reviewing and improving the code, and take responsibility for what ships.

I'm still learning the conventions of rendering engines and compiler tooling. If you find something hard to follow or maintain, I'd appreciate a concrete example. That helps me understand the problem and improve the code.

Contributing

See the contribution guide for reporting issues and submitting changes. The development docs cover building from source and running checks.

License

Vestra is released under the MIT License. See the third-party notices and hero video credits for third-party software and assets.

Metadata

Release files for vestra 0.1.6

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

Source distribution (sdist)

Source distribution for vestra 0.1.6
File Size Uploaded Provenance Actions
vestra-0.1.6.tar.gz 1.8 MB With provenance Details for vestra-0.1.6.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for vestra 0.1.6
File Actions
vestra-0.1.6-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for vestra-0.1.6-cp311-abi3-win_amd64.whl
vestra-0.1.6-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for vestra-0.1.6-cp311-abi3-manylinux_2_28_x86_64.whl
vestra-0.1.6-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for vestra-0.1.6-cp311-abi3-manylinux_2_28_aarch64.whl
vestra-0.1.6-cp311-abi3-macosx_11_0_x86_64.whl CPython 3.11 abi3 macOS 11.0+ x86-64 Details for vestra-0.1.6-cp311-abi3-macosx_11_0_x86_64.whl
vestra-0.1.6-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for vestra-0.1.6-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 101.4 MB

Release files / vestra-0.1.6.tar.gz

Download URL vestra-0.1.6.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
eaec4b825053b77bb3c86a478f933faf0a2d95e85703b5891a01cd133fe3a29d
BLAKE2b-256 checksum
How to use checksums
7ee34fd517a2672d4b45d0b2742f855a58872476869f26d0281cd5da32d2029c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Release files / vestra-0.1.6-cp311-abi3-win_amd64.whl

Download URL vestra-0.1.6-cp311-abi3-win_amd64.whl
Size 18.1 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5120c8f4ab8f208d5343a724732d7ebc06636d1bb3ca418e03929277603f1c49
BLAKE2b-256 checksum
How to use checksums
e79269b51233a701cfacab1d6a8ea7222477c2db0ab000e49a9fdc2253ef98b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Release files / vestra-0.1.6-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL vestra-0.1.6-cp311-abi3-manylinux_2_28_x86_64.whl
Size 22.1 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
f877cc806983f2abbf4200e9cc510bc8d27f1be948a9da3340d85e723891bf8d
BLAKE2b-256 checksum
How to use checksums
5090f2d66d615ce69156c07041c3960ec8fea63397d597bcbe83346caec53030
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Release files / vestra-0.1.6-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL vestra-0.1.6-cp311-abi3-manylinux_2_28_aarch64.whl
Size 21.9 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
061e4f1159dd478b6d931d73a6661e695a1e55edb08064899c377a881aedc249
BLAKE2b-256 checksum
How to use checksums
eda75e714d568d42ff963f9246dabdc5a8cf5cba1890a97c6deae1fd035a53c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Release files / vestra-0.1.6-cp311-abi3-macosx_11_0_x86_64.whl

Download URL vestra-0.1.6-cp311-abi3-macosx_11_0_x86_64.whl
Size 19.2 MB
Tags CPython 3.11 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
525d36ec9ee5467cd431edb351b55744ebac0e9e1db79c5c4a52c06694ba6881
BLAKE2b-256 checksum
How to use checksums
220a34498fe851874560e261c2441d3797ee3d014e120356ae8f2b6dce1cafd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Release files / vestra-0.1.6-cp311-abi3-macosx_11_0_arm64.whl

Download URL vestra-0.1.6-cp311-abi3-macosx_11_0_arm64.whl
Size 18.3 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a743126e0dc95f7a8bd2414fb660108dc3615e53e8b8d59f507aaef7d65f23d5
BLAKE2b-256 checksum
How to use checksums
68387fca2561b45a94523196243b8a748e6c3ae5d7a7b165e5a5c016e3843d7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Security for vestra 0.1.6

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 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for vestra-0.1.6.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 Nov 26, 2026.

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.

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