Skip to main content

Flet controls by the community

Project description

Flet controls in Python by the community

flet-contrib package includes reusable Flet controls written in Python only and using existing Flet primitives.

Controls

Usage

To install flet-contrib package:

pip install flet-contrib

To use in your app:

from flet_contrib.color_picker import ColorPicker

picker = ColorPicker(...)

How to contribute

Contributions are welcome!

Fork this repo.

Create a new directory inside flet_contrib for your control(s) - that will be control's module name, for example flet_contrib.my_control.

Control directory structure:

  • README.md - control description, usage, examples, support information.
  • /src - control implementation.
  • /media - images, multimedia files, databases and other files required by control to function or used in README.md.
  • /examples - one or more examples of usage of your control.
  • __init__.py - classes and functions exported to users of your control.

See ColorPicker for folder structure example.

Submit Pull Request (PR) with your changes.

Once your PR is merged into main a new "dev" package will be released here which can be installed with pip install flet-contrib --pre.

When the contribution is tested by Flet team/community a new flet-contrib release will be published.

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

flet_contrib-2024.3.6.tar.gz (480.7 kB view hashes)

Uploaded Source

Built Distribution

flet_contrib-2024.3.6-py3-none-any.whl (489.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page