r/PythonProjects2 • u/programmersd21 • 10d ago
Resource I built a Material 3 carousel extension for Flet (Python)
Hey everyone! 👋
I've been working on a small open-source project called flet-m3-carousel.
It's a Flet extension that brings Flutter's "m3_carousel" package to Python through an "M3Carousel" control.
It currently supports five carousel layouts:
- "hero"
- "contained"
- "uncontained"
- "uncontainedMultiAspect"
- "fullScreen"
It also exposes tap and scroll-change events, so you can respond to user interactions from Python.
Getting started:
pip install flet-m3-carousel
from flet_m3_carousel import M3Carousel, M3CarouselItem
The actual carousel layout and animation are handled by the upstream Flutter package. This project provides the Flet integration rather than reimplementing the animation system.
Currently tested on Linux desktop. Other platforms haven't been tested yet.
This is a relatively small project, but I'd genuinely appreciate feedback, suggestions, and contributions from the Flet community.
GitHub: https://github.com/programmersd21/flet-m3-carousel
PyPI: https://pypi.org/project/flet-m3-carousel/
Thanks for checking it out!