Our great sponsors
-
shoelace-css
A collection of professionally designed, every day UI components built on Web standards. SHOELACE IS BECOMING WEB AWESOME. WE ARE LIVE ON KICKSTARTER! πππ
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Hello HN,
I'm releasing Hyperdiv (https://hyperdiv.io), a framework for rapidly developing reactive browser UIs in Python, with immediate-mode syntax and using Shoelace (https://shoelace.style) as its built-in component system.
This short coding video will give you a good idea of what it is: https://www.youtube.com/watch?v=4XJKfxaqvGE
I wrote a brief article about the motivation and approach: https://hyperdiv.io/intro.html
Hyperdiv doesn't aim to compete with serious full-stack frameworks. The core aim was to make it easy and fast to prototype apps and build UI-based tools. I was originally motivated by internal tools at work -- feeling the need to quickly put together UI-based tools to share with both technical and non-technical coworkers, without having to stand up and maintain a full internal stack.
This is my first major open source release. I really appreciate your feedback and support. - Marius
Looks cool. How do you see this differing from streamlit? https://streamlit.io/
looks neat. it would help if you hosted the demo apps rather than expecting the user to install and run them themselves to get a feel for it
https://github.com/hyperdiv/hyperdiv-apps/tree/main
this is cool, and a way better executed/more fully featured version of this poc i did a couple weeks ago :) which uses vue under the hood
https://news.ycombinator.com/item?id=39353269
example app: https://github.com/thejchap/pue/blob/main/example.py
good luck! i think thereβs definitely something here with this kind of thing
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.
This looks really nice! I feel like Python's frontend ecosystem is currently exploding. I came across fastUI[1] today as well which looks similar.
1. https://github.com/pydantic/FastUI
Looks super cool! Clearly an idea that people want - I built something similar to this almost two year ago [1] but your project is a lot more fleshed out. I like that you actually used websockets instead of my hacky approach of using an http stream.
[1] https://gitlab.com/BenWiser/python-live-gui
Dash is similar in spirit, as a "build web UIs with Python" framework. Dash seems more similar to nicegui (https://nicegui.io) architecturally than to Hyperdiv. Like nicegui, it builds a static dom that is then mutated via callbacks or data bindings.
By contrast, Hyperdiv lays out UI declaratively based on state, and when state changes, the app re-runs, generating an updated UI. Streamlit and Hyperdiv seem to work similarly, though I'm not sure how Streamlit handles state and state-based layout.
Related posts
- An Introduction to Testing with Django for Python
- Ask HN: What is your go-to stack for the web?
- Where can I create a website for free (no domain needed, basic server hosting, not something like Wix)
- I like this docstring from django source code
- No changes detected with MAKEMIGRATION command after moving to new DataBase