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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

fairyflow-0.2.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.2.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: fairyflow-0.2.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.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f83f0622b92d09d0596efce98de4db2501ced54cbd9130b1626f221f45249669
MD5 59ec69ff8890ba24dd1ca1e83192bc25
BLAKE2b-256 6a53d75ba16f022e964f94ecaac2d8c128e849658d3dba1b29eb99cddb8288b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fairyflow-0.2.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 35d544b48f24b4e1c375389b22be74ff8e022dda2791af3dc02c27f14ee162ed
MD5 50294bbc4f75509c45e3e3241e53828b
BLAKE2b-256 b905b80e5bb94947b993d72d90846dedf88586031a1a094e5e81791f02776109

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fairyflow-0.2.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c71e7ec4b3661d8f1bc7c880fe98d2a2319673c1dded66b37bf343d4753fc15b
MD5 87ed70c85fb2bb1dccfec36e693132ef
BLAKE2b-256 bd06bba57118ef5bac91104dfeca974a22081675cfff476460703d1c3e7f7dbf

See more details on using hashes here.

Provenance

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