dioxuscut (Python SDK)
High-performance, browser-free, programmatic video rendering engine for Python.
Zero Chromium. Zero Puppeteer. Zero Node.js. 100% Pure Rust Native Speed.
Installation
pip install dioxuscut
(Prerequisite: ffmpeg installed on your system PATH)
Quick Start
1. Render a Video in 3 Lines
import dioxuscut
dioxuscut.render(
composition="HelloWorld",
output="video.mp4",
props={"title": "Hello from Python", "subtitle": "Rendered in 0.3s"},
width=1920,
height=1080,
fps=30.0,
duration=90,
)
2. Render a Still Frame (Thumbnail / Poster)
import dioxuscut
dioxuscut.render_still(
composition="HelloWorld",
frame=30,
output="thumbnail.png"
)
3. Dynamic Video Templates with Rhai Scripts
import dioxuscut
dioxuscut.render_script(
script_path="templates/shorts.rhai",
output="shorts.mp4",
props={
"headline": "Breaking AI News",
"caption": "Rendered natively without a browser.",
"tag": "TECH",
},
width=1080,
height=1920, # Vertical 9:16 Shorts / Reels
duration=90,
)
4. Object-Oriented Composition API
import dioxuscut
comp = dioxuscut.Composition("HelloWorld", width=1920, height=1080, duration=180)
comp.render("output.mp4")
comp.render_still(frame=0, output="cover.png")
Performance Comparison (vs Remotion)
| Metric | Remotion (Node.js + Chromium) | Dioxuscut Python SDK | Advantage |
|---|---|---|---|
| Runtime Dependencies | Node.js, Chromium, X11, Mesa | Pure Rust Binary + FFmpeg | Zero Browser Overhead |
| Memory Footprint (RSS) | 1,800 ~ 2,500 MB | 400 ~ 900 MB | 4x ~ 6x Less RAM |
| 720p Render Time | 11.04 s | 0.35 s | 🔥 31x Faster |
| 1080p Shorts Render Time | ~12.0 s | 0.39 s (230 FPS) | 🔥 30x Faster |
| AWS Lambda 10k Cost | $4.60 | $0.15 | 🔥 96.8% Cost Savings |
License
MIT OR Apache-2.0
Metadata
Release files for dioxuscut 0.2.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 | |
|---|---|---|---|
| dioxuscut-0.2.0.tar.gz | 936.5 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| dioxuscut-0.2.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| dioxuscut-0.2.0-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| dioxuscut-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| dioxuscut-0.2.0-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
| dioxuscut-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 28.4 MB
Release files / dioxuscut-0.2.0.tar.gz
| Download URL | dioxuscut-0.2.0.tar.gz |
|---|---|
| Size | 936.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e390c3af7e128e9699be94877d5494d390ec25dec534115c4ead82e9cc035788
|
|
BLAKE2b-256 checksum How to use checksums |
72cef67c8815e8c387ca39806d025ef06e046974ca8c9b6b4a6a2d700a71694e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / dioxuscut-0.2.0-cp310-abi3-win_amd64.whl
| Download URL | dioxuscut-0.2.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
2bb4f32eb22357bfff0e8d3650b7a3ac3481a9f2c8ba7a4e5be021bf60af4b17
|
|
BLAKE2b-256 checksum How to use checksums |
497605b0d12f8c7fc1ee38031292e1c23bdb30473468640b4ec0f81c7f247b6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / dioxuscut-0.2.0-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | dioxuscut-0.2.0-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 5.3 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
f2794f2ce659979d05114f9846bdbeb3771ddb1303e942dbea2dfea025aa82b4
|
|
BLAKE2b-256 checksum How to use checksums |
4884f07b966b1f9100adccbf36f255f7612d4f3b623e020c4fc909a7f5f54992
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / dioxuscut-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | dioxuscut-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7001e3467edd51fff4d1830c859d3ad219781af27b4ae30173880d8f9f70ef63
|
|
BLAKE2b-256 checksum How to use checksums |
a28acc269e612e2f1722eb792a96f20c9803a92fb171123475c9138a1ab2aaa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / dioxuscut-0.2.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | dioxuscut-0.2.0-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.2 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6a1e08718e9f974608715cbfe113dfe9be7bd70f300eb98e3456ad3c9ca95b84
|
|
BLAKE2b-256 checksum How to use checksums |
e3e66bc76916db76cded2fde1b6e1ef84d0ac4a008540bc5543f7ec3c5e5a1f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / dioxuscut-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | dioxuscut-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 5.5 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
232381eb4650a99697764db373bf0f8ba02f92af278c0a8824d31dff28e728e4
|
|
BLAKE2b-256 checksum How to use checksums |
caaa0cfd2001503a21ac9c0c28cf77153268fca33786f7cf7796e311d7ecbd6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|