Vestra
A Rust engine for layer-based video composition and rendering, with a Python API.
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
- Groups and nested compositions
- Keyframes and easing
- Masks and track mattes
- Blend modes and transitions
- Visual effects
- Audio-reactive animation
- Export MP4, GIF, animated WebP, and still images
- Convert rendered frames to NumPy arrays
- Render videos from JSON with the CLI
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.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vestra-0.1.5.tar.gz | 1.7 MB | With provenance | Details for vestra-0.1.5.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| vestra-0.1.5-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details for vestra-0.1.5-cp311-abi3-win_amd64.whl |
| vestra-0.1.5-cp311-abi3-manylinux_2_28_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ x86-64 | Details for vestra-0.1.5-cp311-abi3-manylinux_2_28_x86_64.whl |
| vestra-0.1.5-cp311-abi3-manylinux_2_28_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ ARM64 | Details for vestra-0.1.5-cp311-abi3-manylinux_2_28_aarch64.whl |
| vestra-0.1.5-cp311-abi3-macosx_11_0_x86_64.whl | CPython 3.11 | abi3 | macOS 11.0+ x86-64 | Details for vestra-0.1.5-cp311-abi3-macosx_11_0_x86_64.whl |
| vestra-0.1.5-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details for vestra-0.1.5-cp311-abi3-macosx_11_0_arm64.whl |
Total release size: 100.5 MB
Release files / vestra-0.1.5.tar.gz
| Download URL | vestra-0.1.5.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e69e883122fb6216b2eded793babb0831fdfece23c1063efdf6c8ae83c69a379
|
|
BLAKE2b-256 checksum How to use checksums |
8800cd54c9f6b1f5c5ee3d6b11c72ebc6b43d98043eecb3bc8804adbd0470b3d
|
| 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 21, 2026.
Transparency logRelease files / vestra-0.1.5-cp311-abi3-win_amd64.whl
| Download URL | vestra-0.1.5-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 17.9 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ef4c73e26ce571f891f2de53e66cd4b2561053871f5f8e069dd5ccb5bc614e8d
|
|
BLAKE2b-256 checksum How to use checksums |
994d0f95024f67fc895422a89a116bce1a2da613942c65b5ba4414abf4704adb
|
| 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 21, 2026.
Transparency logRelease files / vestra-0.1.5-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | vestra-0.1.5-cp311-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 21.9 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ebec26b33f1b9317e3b8b6eceaa202163e4a161d5723b8a71a69a62930bb2789
|
|
BLAKE2b-256 checksum How to use checksums |
5f9b5dbb0fd39f30bd6325dae0950dd13515ab844179fa937ac1bb5f8195abb3
|
| 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 21, 2026.
Transparency logRelease files / vestra-0.1.5-cp311-abi3-manylinux_2_28_aarch64.whl
| Download URL | vestra-0.1.5-cp311-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 21.8 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
9cb92bddf5258b2ce707306bcc3767f926963632a2ea3efaeda813ada213e5a5
|
|
BLAKE2b-256 checksum How to use checksums |
c9c265cf5395310f4fe9f5d9d589f0fed40b9dbd6a9e65c97f25256c61ae8906
|
| 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 21, 2026.
Transparency logRelease files / vestra-0.1.5-cp311-abi3-macosx_11_0_x86_64.whl
| Download URL | vestra-0.1.5-cp311-abi3-macosx_11_0_x86_64.whl |
|---|---|
| Size | 19.0 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
138baefebf453cb4e5bece9840d582e1efac8b043698ba7d30d86383ba96b1e8
|
|
BLAKE2b-256 checksum How to use checksums |
40d53e3d898ad0e1d87158d56071f1d7ec4007be1aee62d3781a62c1b344c613
|
| 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 21, 2026.
Transparency logRelease files / vestra-0.1.5-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | vestra-0.1.5-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 18.1 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b76acb41dd08baf2cdd139acc461d773ea22c7acb6dc2ab05cecfd799e9182e9
|
|
BLAKE2b-256 checksum How to use checksums |
984c513f8c4ebd5f006cf8e6bc232bab0f123c386f3f84011492b21b31594f84
|
| 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 21, 2026.
Transparency logSecurity for vestra 0.1.5
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.
Attestation for vestra-0.1.5.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 21, 2026.
Transparency logA 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.