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.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-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fleetingviews-0.2.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.tar.gz
Algorithm Hash digest
SHA256 4144d09c8f0461cda77d054783cfcca92959b472cb388f84cfc9237541fd0526
MD5 937bb24e154eb2ac13b797581f7a0ba7
BLAKE2b-256 76eba48110a7e34bae80c60aac3e2a905209bdc4c13333089655fc252fef060f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fleetingviews-0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for fleetingviews-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a2d6d8854133f3c4a7942c5f077e915390d5b455053d14bfb2c5afc589124c4
MD5 5bb9de9b46d14d75d57f825b2c61b901
BLAKE2b-256 c1846192d136d3553bbfdf2977979b8f673e8f56135004e9c92c32f2a763a4c1

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