tictacreact2
pglet
tictacreact2 | pglet | |
---|---|---|
6 | 9 | |
17 | 582 | |
- | - | |
2.2 | 6.5 | |
10 months ago | over 1 year ago | |
Python | Go | |
- | 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
pglet
-
Show HN: Pynecone – web apps in pure Python
It took me a while to re-find a "Python web app" project that has been posted here and that I vaguely remembered. So I am gonna post it here. It's Pglet https://github.com/pglet/pglet and Flet seems to be its spiritual successor.
-
How do you make a python UI that doesn't look like garbage?
Hey, try Pglet - it's very easy to get started and UI looks cool. There is a tutorial how to make a simple To-Do app in Python: https://pglet.io/docs/tutorials/python
-
Building email signup form for Docusaurus with hCaptcha, Cloudflare Pages and Mailgun
Pglet website is made with Docusaurus and hosted on Cloudflare Pages. However, the following solution could be easily adopted for other React-based website frameworks such as Next.js and use a different backend for server-side logic such as Vercel Functions or Deno Deploy.
-
Hacker News top posts: Dec 1, 2021
Pglet – Web UI framework for back end developers\ (25 comments)
- Pglet – Web UI framework for back end developers
-
Creating a web app in Python without knowledge of HTML/CSS/JavaScript
I've been developing Pglet framework for 6 months now and I feel it's finally ready for building real apps.
-
The future of web software is HTML over WebSockets
Oh, ASP.NET Web Forms were awesome! I remember it was so easy to onboard new developers: built-in state management between requests, WYSIWYG editor, high-level controls abstracting from HTML. Maybe because I miss ASP.NET so much :) I started working on https://github.com/pglet/pglet to have something like "ASP.NET on steroids" - server-side controls with React UI. However, it's not a HTML passing over WebSockets, but controls state which takes much less traffic with smaller latencies.
What are some alternatives?
reflex - 🕸️ Web apps in pure Python 🐍
PyWebIO - Write interactive web app in script way.
pyedifice - Declarative GUI framework for Python and Qt
domonic - Create HTML with python 3 using a standard DOM API. Includes a python port of JavaScript for interoperability and tons of other cool features. A fast prototyping library.
reacton - A pure Python port of React for ipywidgets
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
beaker - An experimental peer-to-peer Web browser
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
fuse - Multiplayer Online Standard
tictacreact - React tutorial app using Python with Transcrypt
wave - Realtime Web Apps and Dashboards for Python and R