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
  • 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

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

Export formats

Format Command / UI
Player package (.ffpkg) Export → Player package in the studio
Video (.mp4) Export → Video (requires ffmpeg)
PDF Export → PDF

Play a package with:

fairyflow play mypackage.ffpkg

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

Uploaded Python 3Windows x86-64

fairyflow-0.1.0-py3-none-manylinux_2_17_x86_64.whl (7.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

fairyflow-0.1.0-py3-none-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: fairyflow-0.1.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.9 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.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4d26b26f51d06751bf146338c6a67572f90415777f6db63e8d8ff499414e6a82
MD5 027da0703399c31b16c958a11787ce8d
BLAKE2b-256 7bbb37373d24858a0358cb4c8fceffbcbfa484ec51f2a489f7b0e3823d071fcc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fairyflow-0.1.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c0eac984a1c7d2842bffcb423bef553010e05cd70fa775063d95eb13ac5d2f5d
MD5 8b56427e786fc52b6e064aa1ae021116
BLAKE2b-256 06b8c0a00312e32d4e1cd7b3444dab34b27ea21ba4ad962f048c9c8547445eb3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fairyflow-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cf1066e123a2033f1445c43a1800c38b4511b90719c371e820c9e7c8cf13c749
MD5 fc76b762c6231c240e4230cca3c38a4f
BLAKE2b-256 c3ffc819430ecb7f1af7425089fdb0c29ec5644e0a22a23b920db22c3374a599

See more details on using hashes here.

Provenance

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