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

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.5
File Size Uploaded
dioxuscut-0.1.5.tar.gz 599.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for dioxuscut 0.1.5
File
dioxuscut-0.1.5-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
dioxuscut-0.1.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
dioxuscut-0.1.5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
dioxuscut-0.1.5-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
dioxuscut-0.1.5-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 16.0 MB

Release files / dioxuscut-0.1.5.tar.gz

Download URL dioxuscut-0.1.5.tar.gz
Size 599.0 kB
Tags Source
SHA-256 checksum
How to use checksums
970e5edfdcefc2f0b4fae0c601880413c5ed8a2cee4e315b37eef4357bc767d3
BLAKE2b-256 checksum
How to use checksums
50f7c90233254b8f838261f571f43c957fc301e2583e5966a47c976350db868c
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.1.5-cp310-abi3-win_amd64.whl

Download URL dioxuscut-0.1.5-cp310-abi3-win_amd64.whl
Size 3.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
548c981fd7e2030842a68ed3f390eecefaa70338492d1a59b45ae7988d6890d9
BLAKE2b-256 checksum
How to use checksums
6a6d454ae315491796d902d796d2b6f7ea0f1e749ae40b7da6cb9c8a143e8807
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.1.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL dioxuscut-0.1.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
275b1641f7fcf4615ca708b6181b7b99c48b29d95e6434865bece4ed850d6f51
BLAKE2b-256 checksum
How to use checksums
2cb415131165f7878804385ad82616fdb325d08f48938282528fd44e3878a72c
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.1.5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL dioxuscut-0.1.5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.0 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
e7b991cbd7e32650cd78707c9f0d8fbe8117d3227ea36da3568e351c5d39b15a
BLAKE2b-256 checksum
How to use checksums
d161a43463ab7ab3b2e3940a4fdcc3dac30fac839d5cbe05fd01f2cf4da5178c
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.1.5-cp310-abi3-macosx_11_0_arm64.whl

Download URL dioxuscut-0.1.5-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
29d6845ae76aded76ed85c0419ae8242750da7a01613570e4afe2cee13b7cbd1
BLAKE2b-256 checksum
How to use checksums
721a14b8823f0ef8705f7a84ca8f5eb9c26b33653388fed8332f8a7375225703
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.1.5-cp310-abi3-macosx_10_12_x86_64.whl

Download URL dioxuscut-0.1.5-cp310-abi3-macosx_10_12_x86_64.whl
Size 3.1 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
236cd7cdd526d6c07d926f33fb393d9ecfe70841267911db74fd2c06a152ee06
BLAKE2b-256 checksum
How to use checksums
97e4fbd873bc1451d13c424c7bae0ef7a1f01217252976a37aa3888444dd0b7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.2.0

6 release files

This release

0.1.5 This release

6 release files

0.1.4

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