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.4.0-py3-none-win_amd64.whl (6.0 MB view details)

Uploaded Python 3Windows x86-64

fairyflow-0.4.0-py3-none-manylinux_2_17_x86_64.whl (7.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

fairyflow-0.4.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.4.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: fairyflow-0.4.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.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3c9dc0aa3e3793ea83925ebb80148fca9bc604c29ac84e71322c6c3f38150e3e
MD5 17e1a4eaa5b402a6cbd4866789c31a77
BLAKE2b-256 bf814f4793c077ec4b4fee1cfdbb573357ccdd584a8201499448f0fd34915b03

See more details on using hashes here.

Provenance

The following attestation bundles were made for fairyflow-0.4.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.4.0-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for fairyflow-0.4.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 4f06408020ca1df25c545636b06b079f93ad496ba519ff9b665de7c2256bbe34
MD5 92f5f46fe054b616d0b63782c1aec539
BLAKE2b-256 b0e961b11cddb66c3b87e9bdd21d659897bcc774c85699bf358cb8944ff3031f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fairyflow-0.4.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.4.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fairyflow-0.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6d787312e9713f076a56c996d592df482f430d6bb9d5548c46e6e54485f4bb25
MD5 fb72184956ef7337e054de6828cca1aa
BLAKE2b-256 605f9a9ffc7fe4eed307d9fd3db8d2f66c03e09f0a9d5992919b9c29e34849df

See more details on using hashes here.

Provenance

The following attestation bundles were made for fairyflow-0.4.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