Skip to main content

An interactive environment for crafting programmatic animations and slides in Python.

Project description

FairyFlow — animated slides & animations in Python

FairyFlow logo

Documentation · Get started · Examples


FairyFlow is a Python-driven tool for creating animated slides and general-purpose animations. You write plain Python, and FairyFlow evaluates it live in an interactive environment that keeps your code, scene tree, and rendered result in sync.

FairyFlow interactive environment

Key features

  • Python-first authoring — animations are plain .py scripts; no DSL to learn
  • Live interactive environment — edit code, press Ctrl+Enter, see the result instantly
  • Easy scene exploration — code editor connects code, the scene tree, and elements in rendered image
  • Vector scene graph — scenes are stored as vector graphics and rasterized at the last moment, so any output resolution is lossless
  • Presentation cuescue() pauses the player for click-to-advance presentations
  • Multiple export formats — standalone .ffpkg player package, MP4 video, and multi-page PDF
  • Performant backend — Backend is implemented in Rust

Documentation

https://spirali.github.io/fairyflow/

Quick start

pip install fairyflow

fairyflow init my_project
fairyflow open my_project

fairyflow open starts a local web server and prints the URL to the interactive studio. Open scenes/scene1.ffpy in the editor, write some code, and press Ctrl+Enter to evaluate:

with Scene():
    stext("Hello world!").fade_out()

Project layout

my_project/
├── fairyflow.toml       ← project settings (fps, prologue path)
├── prologue.py          ← shared imports and defaults for all scenes
├── scenes/
│   └── scene1.ffpy      ← animation code
└── sequences/
    └── sequence1.ffsq   ← ordered playlist of scenes for export

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fairyflow-0.3.0-py3-none-win_amd64.whl (6.0 MB view details)

Uploaded Python 3Windows x86-64

fairyflow-0.3.0-py3-none-manylinux_2_17_x86_64.whl (7.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

fairyflow-0.3.0-py3-none-macosx_11_0_arm64.whl (6.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file fairyflow-0.3.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: fairyflow-0.3.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fairyflow-0.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 361dd86a4ef61d499d0594e554fb551b959c842cb7cf6f42b4897f41e5ace668
MD5 97ad4f0eac9ec2d553b22ed0b279c37a
BLAKE2b-256 969d4b415f5512d3739495864868e0596f75ac36e53fce86e78e2c993f21af0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fairyflow-0.3.0-py3-none-win_amd64.whl:

Publisher: build.yml on spirali/fairyflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fairyflow-0.3.0-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for fairyflow-0.3.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 23c0dabdc0c0bcdfcc197e937e89e8f8f97a03a6e16373242079ef61e769f8fe
MD5 01b8a471aa90587a1777dc5f928fb48a
BLAKE2b-256 1bd499163b1f5629c61bbe71c3fd0271436e5e4fa6e6c600fe8c3345fa143c12

See more details on using hashes here.

Provenance

The following attestation bundles were made for fairyflow-0.3.0-py3-none-manylinux_2_17_x86_64.whl:

Publisher: build.yml on spirali/fairyflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fairyflow-0.3.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fairyflow-0.3.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1e4348c4596fe6aab6a84e11fc8d45816805f3398557d5f4e352e221b09fd0a6
MD5 0d3c6bc543da144c6de6e2d1db4e9b1f
BLAKE2b-256 02e4455930afd66ee224038c03a74eff25330ffc696b0eb4cee8beb7db2bfbce

See more details on using hashes here.

Provenance

The following attestation bundles were made for fairyflow-0.3.0-py3-none-macosx_11_0_arm64.whl:

Publisher: build.yml on spirali/fairyflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page