Guides
flet
Our great sponsors
Guides | flet | |
---|---|---|
20 | 62 | |
294 | 9,163 | |
- | 8.0% | |
4.3 | 9.4 | |
5 months ago | 3 days ago | |
Shell | Python | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Guides
-
How to automatically start a program when turning on the pi?
There are a couple of very good guides for starting programs on Github https://github.com/thagrol/Guides
-
What is wrong with my fstab file? I have attempted to add an additional mount point, but it does not mount properly
Have a look at this pdf [Github]
-
Program started using rc.local keeps receiving input from stdout
Obviously as bashrc is executed when you log in connecting twice at once (e.g. two ssh sessions, a VNC + SSH etc) will mean the program runs twice while other user accounts may not run the program at all - this may be what you want but if you are expecting it to run without you having to log in (or only run once) then have a look at the cron and boot pdf guides from Thagrol here [Github]
-
Kiosk CEC questions from a newbie.
There are two good guides to automatically running commands at https://github.com/thagrol/Guides - look at the cron and boot PDFs
-
How do I get files from my raspberry pi 4 to my PC?
These is a full guide here (use the NAS document) but there are many web pages on SAMBA - I would look at the Pi Foundations notes here to install this and the third section to share the Pis folder.
-
help needed automating a photo slideshow at system startup
I would use a systemd service - have a look at the two startup guides (cron / boot) at https://github.com/thagrol/Guides for more info on starting up programs.
-
turn off screen after booting?
One of the guys in the Pi forums created a couple of handy documents for starting programs - look at the cron and boot PDFs here (the Pi OS is a flavour of Debian so the majority of the process will be fine - some of the commands used could be different or Pi specific).
-
Autostarting with OpenCV
There is a set of guides here https://github.com/thagrol/Guides - have a look through the boot and cron ones for advice.
-
Can I partition or map a USB port on a laptop to be recognized by other devices as a USB drive?
I think you can even loop mount the virtual USB stick's file system and read the file without virtually disconnecting the virtual USB stick. More info in this guide.
-
programm with gui but without OS
I use the BLEAK toolkit for Python and Bluetooth as my sensors are GATT servers. All data is sent over BLE broadcasts. Your sensors may be different (I would expect they are) as they could be giving a constant stream of data out. With luck they are not encrypted but here you could be on your own unless someone else has used them before. Starting up a program is documented in the cron and boot PDFs by Thagrol here - these are the no. 1 goto for this on the Pi.
flet
- Python dev considering Electron vs. Kivy for desktop app UI
-
FastUI: Build Better UIs Faster
> When you run flet build command it ... Packages Python app using package command of serious_python package. -- https://flet.dev/docs/guides/python/packaging-app-for-distri...
It looks like Flet is for client-side code. It lets you write Flutter apps with Python instead of Dart.
> Simple Architecture - No more complex architecture with JavaScript frontend, REST API backend, database, cache, etc. With Flet you just write a monolith stateful app in Python only and get multi-user, realtime Single-Page Application (SPA). -- https://flet.dev
If I'm writing Python that runs on the mobile device, it must talk to a server to read & write data. Doesn't this still require an API backend, database, cache, etc?
- Ask HN: Can I create a mobile and Web App using Python/Python Framework?
-
Ask HN: Cross-platform GUI apps in 2024
I just learned of Flet (https://flet.dev) which seems interesting for Python. I may try this as well.
-
Flutter seems to be having bad times internally
maybe check out https://flet.dev
- Release v0.11.0 ยท flet-dev/flet
-
How to Build an Online MRZ Generator with Python, Pyodide and HTML5
When developing or selecting an MRZ (Machine Readable Zone) recognition SDK, the primary challenge lies in finding an appropriate dataset for testing. Acquiring genuine MRZ images is challenging, and due to privacy concerns, they aren't publicly accessible. Therefore, crafting MRZ images becomes a practical solution. Fortunately, there's an open-source Python MRZ generator project, available for download from pypi, eliminating the need to start from scratch. This article aims to illustrate how to integrate and run Python scripts within web applications. First, We will showcase how to employ the Python MRZ SDK and Flet to construct a cross-platform MRZ generator. Subsequently, we will reuse the Python script with Pyodide, HTML5, and the Dynamsoft JavaScript MRZ SDK, creating an advanced online MRZ tool that can handle both MRZ creation and MRZ detection.
-
Flet is "The fastest way to build Flutter apps in Python" - it's not :(
"The fastest way to build Flutter apps in Python" is the title of Flet's web page. As someone coming from the Flutter world reading the line I draw an ideal picture of "swapping Dart language for Python and magically having the whole power of Flutter framework and the tips of your fingers".
- Job requires 12 years of Flutter experience.
-
Python GUIs
Well I haven't seen anyone mention Flet, which is pleasant (if maybe not all that complete) if you have Dart/Flutter experience, so increment your counter at least one. :-)
https://flet.dev/
What are some alternatives?
Airport-departure-board - Decorative airport arrivals and departures virtual flipboard
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
python-bluezero - A simple Python interface to Bluez
reflex - ๐ธ๏ธ Web apps in pure Python ๐
magicbandreader - Reads magic bands and plays sounds and lights up leds, just like the real thing.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
rust-raspi3-tutorial - Bare metal Raspberry Pi 3 tutorials in Rust
nicegui - Create web-based user interfaces with Python. The nice way.
mosquitto - Eclipse Mosquitto - An open source MQTT broker
CustomTkinter - A modern and customizable python UI-library based on Tkinter
raspberrypi-ui-mods
reflex-examples - A repository full of Reflex example apps.