Skip to main content

Facilitates view creation and management in Flet applications.

Project description

🌀 FleetingViews — View Management & Navigation for Flet

FleetingViews is a lightweight and powerful view management system for Flet apps.
It helps you structure your app around clean views, guards, transitions, and reactive state — inspired by the best practices of modern frontend frameworks.

Think of it as a router + state manager + lifecycle engine for Flet.


🚀 Features at a Glance

✅ Easy view registration
✅ Route-based navigation with history
✅ Lifecycle hooks (on_mount, on_dismount)
✅ Guards (protect views based on logic)
✅ Reactive observables (define_observable, subscribe)
✅ Two-way data binding with controls (bind_to_control)
✅ Dynamic view transitions with animations
✅ Built-in fallback 404 view
✅ Shared global state (set_shared, get_shared)
✅ JSON state persistence (coming soon)


📦 Installation

pip install fleetingviews

To upgrade:

pip install fleetingviews --upgrade

📹 Quick Start Tutorial (Video)

Watch this YouTube tutorial for a hands-on guide:

🔐 Protect views with guards

🎛️ Configure AppBars dynamically

🔁 Use view_go() to navigate

🧠 Structure your app cleanly using FleetingViews

📄 Documentation

Full API and usage guide: 🔗 https://arellanobrunoc.github.io/FleetingViews/

Project details


Download files

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

Source Distribution

fleetingviews-0.2.dev5066.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

fleetingviews-0.2.dev5066-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file fleetingviews-0.2.dev5066.tar.gz.

File metadata

  • Download URL: fleetingviews-0.2.dev5066.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for fleetingviews-0.2.dev5066.tar.gz
Algorithm Hash digest
SHA256 9ab032397302da54a1902316ae657d5522f7442a63d967080d384de7f17c8cf3
MD5 2b21a3c84d12fe5734e255384eed6d09
BLAKE2b-256 81cbf3cbe91da3dcd9752a26dc02e9708fcc506709104f66b3e44db943915be4

See more details on using hashes here.

File details

Details for the file fleetingviews-0.2.dev5066-py3-none-any.whl.

File metadata

File hashes

Hashes for fleetingviews-0.2.dev5066-py3-none-any.whl
Algorithm Hash digest
SHA256 46446638bd6af59ef294e0882366a15b7f22ed1270d557f23ed7ab057ba16f3e
MD5 ccf76b5049c7b33d4b0ad55ad4cb7c58
BLAKE2b-256 c5e094d2fe0693f398efd30c2d3c4e418ce4e51d7fef08366d77f95f4d1873a9

See more details on using hashes here.

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