Skip to main content

SaaS-FrameWork - sistema de componentes reutilizaveis para apps SaaS construido com Python e Flet

Project description

SaaS-FrameWork

Reusable SaaS UI components for Flet: a versioned design system with 75 catalogued components — buttons, inputs, navigation, data tables and tree views, charts, overlays and dialogs, feedback, media and responsive layout — plus accessible color themes and a navigable component catalog.

Install

pip install SaaS-FrameWork

For web deployments, install the web extra:

pip install "SaaS-FrameWork[web]"

Quickstart

import flet as ft
from components import DEx_BtnPrimary, DEx_MetricCard, DEx_Notify, DEx_TextField


def main(page: ft.Page) -> None:
    page.title = "Hello SaaS-FrameWork"
    name = DEx_TextField(label="Your name", hint="Type and press the button")
    page.add(
        DEx_MetricCard(label="Active users", value="1,024", delta="+12%"),
        name,
        DEx_BtnPrimary("Greet", on_click=lambda e: DEx_Notify(page, f"Hello, {name.value}!")),
    )


ft.app(main)

Save as hello.py and run:

python hello.py

Every public component is importable straight from components (from components import DEx_DataTable, DEx_AppShell, ...).

Compatibility

Requirement Version
Python >= 3.13
Flet == 0.84.0 (pinned)

The Flet dependency is intentionally pinned: Flet's API still moves between releases, so upgrades only land here after the project's upgrade policy revalidates all 70 use cases against the candidate version. Installing this package therefore also pins your app's Flet version.

Component catalog

Browse every component, its use case, parameters and source in the live catalog:

The catalog has global search, maturity filters and a responsive layout, and is audited for accessibility (WCAG AA contrast, keyboard navigation).

Versioning and maturity

The project is pre-1.0: APIs may still change between minor releases. Each component declares its own COMPONENT_VERSION and the catalog groups them into maturity bands — Experimental (0.0.x), Evolving (0.1.x+) and Stable (1.x+). Every component change is required (and CI-enforced) to bump the component version. Release history lives in CHANGELOG.md.

Feedback

Bug reports, questions and suggestions: https://github.com/DEx-SaaS/FrameWork/issues

Development

Contributor documentation — folder structure, naming conventions, versioning rules, test suite and the component contract — lives in CONTRIBUTING.md.

License

MIT.

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

saas_framework-0.1.8.tar.gz (65.7 kB view details)

Uploaded Source

Built Distribution

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

saas_framework-0.1.8-py3-none-any.whl (101.9 kB view details)

Uploaded Python 3

File details

Details for the file saas_framework-0.1.8.tar.gz.

File metadata

  • Download URL: saas_framework-0.1.8.tar.gz
  • Upload date:
  • Size: 65.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for saas_framework-0.1.8.tar.gz
Algorithm Hash digest
SHA256 0dbab33d17b962065ad8d444a3a569a964da9f3c5a0cc406cfd2a8749085390d
MD5 c10ec233ba0258386a2c2d8072a2f86c
BLAKE2b-256 90d59115e4f6230ba99ddc2d1d2bb248e9b4f0e1071cf76b943ee37a600d655d

See more details on using hashes here.

File details

Details for the file saas_framework-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: saas_framework-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 101.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for saas_framework-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4e0375c7cf8583a4c196856e59eafc7e2858efca31b2ed38a4e8c7d1f0c65fa6
MD5 5deee27285ab5e8a90acf9d8f061ab39
BLAKE2b-256 875ebdade41647ee0c0bc585de0428b4549648cfa9d59ef6ea31bf5d72d65ba0

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