reactor
reflex
reactor | reflex | |
---|---|---|
11 | 76 | |
613 | 16,673 | |
- | 6.9% | |
7.1 | 9.9 | |
about 2 months ago | 2 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.
reactor
- Reactor, a LiveView Library for Django
- Launch HN: Pynecone (YC W23) β Web Apps in Pure Python
- Django equivalent to Rails Hotwire
-
Back-end languages are coming to the front-end
I'd love to see this approach make more headway in the Django community. Based on the last DjangoCon it seems like the community is coalescing around HTMX.
This tool does play very nicely with Django's templating engine; you can just have HTMX re-render a particular template block on the server, and send down that updated block. The migration path is quite clean; you just wrap your "HTMX-updated" template block in a `hx-post` div.
Having not gone too deep on HTMX, I'm interested in folks' thoughts on where it's lacking vs. LiveView and Hotwire. One area I can see is performance; Elixir is going to be faster than Django, and so if you're trying to handle high session counts over websockets. But the impression I get is that HTMX is a bit more light-weight, so I'm wondering if there's usecases that can't be met with it vs. LiveView.
Other Django libraries that haven't quite seen as much uptake:
We have https://github.com/edelvalle/reactor, and a port of Hotwire: https://github.com/hotwire-django but both of these don't seem to have much adoption (yet!).
-
Reactive Clojure: You don't need a web framework, you need a web language
Thank you for posting those, I wanted to post them but I don't comment often (). Wanted to chip in another contemporary: edelvalle/reactor, which is inspired by LiveView[0].
[0]: https://github.com/edelvalle/reactor
I am using Hotwire for a project, and I'm learning Elixir and Phoenix on the side. Finding edelvalle/reactor was immediately helpful to me though, because I cut my teeth on Python/Django, so reading a Python reference implementation helps me learn nuts and bolts of libraries, faster. (so, I figure that this might help someone else grok how these approaches work.)
-
How to combine Rails's Ajax support and Stimulus
If this sounds like a barebones version of notable frameworks like Elixir's Phoenix LiveView, Rails's StimulusReflex or Hotwire Turbo, PHP's LiveWire, Django's Reactor... well, you're right! (Bonus: my colleague @jgaskins built a LiveView clone for Crystal)
-
Phoenix LiveView/Laravel LiveWire alternatives for Django
Reactor
-
HTML over-the-wire is the future of Web Development
Reactor is a LiveView library for Django. It enables you to do something similar to Phoenix LiveView using Django Channels.
-
Django with htmx for easy and efficient SPAs
It looks a bit similar to Elixir Live View. Or similar in Django https://github.com/edelvalle/reactor, there are a couple of libraries.
-
StimulusReflex, or LiveView for Rails
Django does: https://github.com/edelvalle/reactor
reflex
-
Designing a Pure Python Web Framework
Hey thanks for the feedback. We're working on relaxing our dependencies [1] to make reflex more compatible. Do you remember what libraries you had the conflict with?
[1] https://github.com/reflex-dev/reflex/pull/2796
-
Show HN: Hyperdiv β Reactive, immediate-mode web UI framework for Python
Thanks! Pue looks cool, thanks for sharing. I see some similarities to https://reflex.dev in terms of providing a declarative dom expression language with built-in conditionals and loop primitives.
-
Embracing Modern Python for Web Development
In the dynamic world of web development, Python has emerged as a dominant force, especially in backend development β the primary focus of this blog post. Although it's worth mentioning that there are ongoing efforts to use Python for the frontend as well, like Reflex (previously known as Pynecone, they presumably had to change their name because of Pinecone vector database), which even garnered support from Y Combinator. Samuel Colvin (creator of Pydantic) is also working on FastUI (he literally just released the first version in December 2023).
-
Show HN: Taipy β Turns Data and AI algorithms into full web applications
They have a ready to use LLM chat App, which makes it more likely I will check it out.
https://github.com/reflex-dev/reflex
- Reflex v0.3.2 is released
-
Build a chatbot to interact with your Pandas DataFrame using Reflex
We will use Reflex to build this chatbot.
- Reflex: Web Apps in Pure Python
-
Build an OCR app using fullstack Python Framework Reflex
To learn more about Reflex, you can read here: https://reflex.dev/
-
Build a Text Summarization app using Reflex (Pure Python)
Reflex is an open-source, full-stack Python framework that makes it easy to build and deploy web apps in minutes. You have most of the features of a frontend library like Reactjs and a backend framework like Django in one with ease in development and deployment. All while developing in a single language PYTHON.
-
ππ 23 issues to grow yourself as an exceptional open-source Python expert π§βπ» π₯
Repo : https://github.com/reflex-dev/reflex
What are some alternatives?
django-unicorn - The magical reactive component framework for Django β¨
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
django-htmx - Extensions for using Django with htmx.
nicegui - Create web-based user interfaces with Python. The nice way.
turbo - The speed of a single-page web application without having to write any JavaScript
streamlit - Streamlit β A faster way to build and share data apps.
Phoenix - Peace of mind from prototype to production
htmx - </> htmx - high power tools for HTML
dash - Data Apps & Dashboards for Python. No JavaScript Required.
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
air - βοΈ Live reload for Go apps