The power of fframes with the simplicity of Python.
Documentation · Example · Agent skill
Quick start
pip install fframes-py
Or with uv:
uv add fframes-py
Render a three-second title card:
from fframes.compose import Composition, Position, Rectangle, Text, Tween, Video
video = Video(
resolution=(1280, 720),
fps=30,
composition=Composition(
duration=3,
children=(
Rectangle(size=(1280, 720), fill="#172033"),
Text(
content="Hello, frames",
position=Position(x="center", y="center"),
font_size=64,
fill="#FFD43B",
opacity=Tween(from_value=0, to_value=1, duration=1),
),
),
),
)
video.render("hello.mp4")
Text uses system fonts; supply font files for reproducible
layout. For repeated previews or exports, reuse video.compile().
Low level
Render a one-second sequence of SVG frames:
import fframes
svg = (
'<svg xmlns="http://www.w3.org/2000/svg" width="640" height="360">'
'<rect width="640" height="360" fill="#3776AB"/></svg>'
)
native = fframes.compile_video(fframes.VideoConfig(width=640, height=360, fps=30), (svg,) * 30)
fframes.render(native, "frames.mp4")
See low-level operations for scalar animation and frame sampling.
Metadata
Release files for fframes-py 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fframes_py-0.1.0.tar.gz | 390.9 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fframes_py-0.1.0-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details |
| fframes_py-0.1.0-cp311-abi3-manylinux_2_35_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.35+ x86-64 | Details |
| fframes_py-0.1.0-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 90.4 MB
Release files / fframes_py-0.1.0.tar.gz
| Download URL | fframes_py-0.1.0.tar.gz |
|---|---|
| Size | 390.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3677050b83dcf71e001372bf150d94c1fd7bbc67c83bdc717add79d247be0a35
|
|
BLAKE2b-256 checksum How to use checksums |
7fb089885d089470c4f0ebb9f2f43926984552206cd0c3483384f6d293a1aee5
|
| 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 / fframes_py-0.1.0-cp311-abi3-win_amd64.whl
| Download URL | fframes_py-0.1.0-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 59.3 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
8f8d7704f604490c50f860c771eccd1e582226bd364c8c6de61a54a1acd3cb6d
|
|
BLAKE2b-256 checksum How to use checksums |
21b92109ae287ec50827daef07d7633854784ed475f3aa2edc68a42b564231cb
|
| 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 / fframes_py-0.1.0-cp311-abi3-manylinux_2_35_x86_64.whl
| Download URL | fframes_py-0.1.0-cp311-abi3-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 16.0 MB |
| Tags | CPython 3.11 Linux glibc 2.35+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
d6599dba1e440582ae634953424beee28e1ad01c9775100907268292e79689f0
|
|
BLAKE2b-256 checksum How to use checksums |
90975fbfc26cf315bcc828f495a9c413cc59fa4d115100315badf207b588d88f
|
| 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 / fframes_py-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | fframes_py-0.1.0-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 14.7 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
09f21e71425c5207d14870567b989290420c5c16b69b3337ffc7d6c2ad9b4179
|
|
BLAKE2b-256 checksum How to use checksums |
78b1e1184ebe64209dd9a40f85dfcdd2c9a4cc0c3a19ed2822b0f00d84b1abf0
|
| 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}
|