tictacreact2
flet
tictacreact2 | flet | |
---|---|---|
6 | 62 | |
17 | 9,163 | |
- | 3.3% | |
2.2 | 9.4 | |
10 months ago | 6 days ago | |
Python | 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.
tictacreact2
-
Reviving PyMiniRacer: A Python <> JavaScript Bridge
I've made React applications using Python via Transcrypt, but wrap component functions in a Python decorator that make direct calls to React.createElement() instead of using JSX (example: https://github.com/JennaSys/tictacreact2). It's possible to use JSX with this approach as well, but IMO it starts to get messy and defeats the purpose of using JSX in the first place.
-
React JSX vs react with HMTL
If you are curious what the code looks like, this is the official Intro to React tutorial done in Python with function components.
-
Reacton - A pure Python port of React for ipywidgets
I actually use Python to create React applications via Transcrypt and use functional components in that process. IMO it's quite a bit cleaner than using class components. It's more of a functional programming paradigm than OOP, but didn't take long to get used to. You do end up using more closures and lambdas than you would with procedural and OOP. This example based on the official React tutorial gives you an idea of what it looks like in Python.
- Show HN: Pynecone – web apps in pure Python
-
Python and the Browser - Revisited
Listing 1: index.html
-
New Python Library for Reactive UI
As an exercise, I did the official React tutorial using Python, and also converted it to use hooks instead of classes: https://github.com/JennaSys/tictacreact2
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?
reflex - 🕸️ Web apps in pure Python 🐍
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
pyedifice - Declarative GUI framework for Python and Qt
reacton - A pure Python port of React for ipywidgets
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
nicegui - Create web-based user interfaces with Python. The nice way.
tictacreact - React tutorial app using Python with Transcrypt
CustomTkinter - A modern and customizable python UI-library based on Tkinter
wasp - The fastest way to develop full-stack web apps with React & Node.js.
reflex-examples - A repository full of Reflex example apps.