Skip to main content

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.1.4

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

Source distribution (sdist)

Source distribution for dioxuscut 0.1.4
File Size Uploaded
dioxuscut-0.1.4.tar.gz 566.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dioxuscut 0.1.4
File Interpreter ABI Platform
dioxuscut-0.1.4-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 3.5 MB

Release files / dioxuscut-0.1.4.tar.gz

Download URL dioxuscut-0.1.4.tar.gz
Size 566.7 kB
Tags Source
SHA-256 checksum
How to use checksums
01e0bb1d12e933a57fd571eaba0dc7c1bc70be439b6f4a5b01f1fb6a33e9c054
BLAKE2b-256 checksum
How to use checksums
fc3eb72802d2993c1d5928d4eebf34d91eb6d70ac0738f0ee879843a0cb2760b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release files / dioxuscut-0.1.4-cp310-abi3-macosx_11_0_arm64.whl

Download URL dioxuscut-0.1.4-cp310-abi3-macosx_11_0_arm64.whl
Size 2.9 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1132ae0aa320aff64cd77d233bd82a3d96337d6a89e3b73909f44b72370c8eb5
BLAKE2b-256 checksum
How to use checksums
8aa2322c56372db2add7a60f7005fa5f64ade836cb3ab9dae50c39314710b784
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release history Release notifications | RSS feed

0.2.0

6 release files

0.1.5

6 release files

This release

0.1.4 This release

2 release files

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