MicroPyScript
nicegui
MicroPyScript | nicegui | |
---|---|---|
33 | 179 | |
57 | 7,585 | |
- | 8.3% | |
10.0 | 9.9 | |
10 months ago | 1 day ago | |
JavaScript | Python | |
Apache License 2.0 | MIT License |
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.
MicroPyScript
-
Learn WebAssembly by writing small programs
> And currently using anything but C, C++ or Rust isn't feasible
Someone should tell Anaconda that they can't do this, then: https://pyscript.net/
-
Microsoft is bringing Python to Excel
There's https://pyscript.net/ -- or do you mean for scripting the browser's behaviour rather than replacing JS in website code?
-
Icepool: Python dice probability package
Icepool is a Python package. If you know Python, you have a head start in understading Icepool's syntax. Icepool is written in pure Python and has no dependencies other than the Python Standard Library, allowing you to run it in most places you can run Python. You can directly interoperate Icepool with the extensive Python ecosystem, including Numpy, Matplotlib, and Pandas. Recent projects such as Pyodide, JupyterLite, and PyScript allow Icepool to interoperate with JavaScript, allowing you to make your own web applications using Icepool.
- Should i quit Django and move to node JS
-
Javascript alternative to anydice?
But we're not stuck with one or the other. Python-JS interop has improved greatly in recent years with projects like Pyodide, JupyterLite, and PyScript. Often my strategy is to do the probability in Python and use JS for visualization, as you can see in this ability score calculator or this AnyDice-like interface.
-
Lua: The Little Language That Could
same was done for other languages too, like Python https://pyscript.net/
-
But how do I do this in Python?
Finally, there's PyScript. The dream of many Python developers, PyScript allows Python to run in the browser using WebAssembly. As someone who never fully mastered JavaScript, I find this particularly appealing.
- After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?
-
From website (javascript) to program (python), how?
I assume your goal is to write the least amount of JavaScript. There's actually a way to run Python in your browser. Take a look at pyscript.net. Not everything is supported, however, so you'd have to check whether the dependencies of the tools you have developed can run.
-
How to make a Python small project using HTML and CSS? I am a beginner.
PyScript. I made a small single-page site that translates code into english with it. Really neat learning experience.
nicegui
-
FastUI: Build Better UIs Faster
I was looking at this space and nicegui seemed like the best ootb experience.
https://nicegui.io/
-
Show HN: Hyperdiv β Reactive, immediate-mode web UI framework for Python
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.
-
PysimpleGUI
For native GUI, DearPyGui[0] as modern as you can.
For browser web-based GUI, you can use nicegui[1]
[0] -- https://github.com/hoffstadt/DearPyGui
[1] -- https://github.com/zauberzeug/nicegui
- Python GUI libraries recommendations?
-
Learning building webpages and websites in Python
I want to bring to attention a set of frameworks that make webdevelopment using Python simple and fun. The popular opinion maybe that webpages developed with Python maybe slow. But this is not the case. Do checkout https://github.com/ofjustpy/ofjustpy/, https://github.com/zauberzeug/nicegui/ and https://github.com/justpy-org/justpy . All these frameworks are build on top of Starlette and make web development really easy. If you want simple and ready to use the nicegui is the choice. If you want fast, scalable, and more control then give ofjustpy a try.
- Updating the progress in UI from run.cpu_bound method
-
Moving from Streamlit to Nicegui
Yes, NiceGUI aims for a very gentle learning curve. Coming from Streamlit I suspect your main adaptation will be that in NiceGUI you need to write valid Python code. Streamlit constantly reevaluates your script which feels nice and easy but creates lots of problems down the road. See https://github.com/zauberzeug/nicegui/discussions/21.
-
Show HN: Dropbase β Build internal web apps with just Python
Auth is a big limitation. It's not a built-in component, they have [an example](https://github.com/zauberzeug/nicegui/blob/main/examples/aut...) using the FastAPI layer for auth, but I haven't had time the time to try implementing it. It's definitely not something you get out of the box with NiceGUI.
For scaling, I am viewing it mostly as an internal tool builder. I wouldn't recommend it for external applications. So as far as scaling an internal app I think it works fine. [Their website](https://nicegui.io) is built with NiceGUI, and it works fine, but you can feel the lag occasionally on some of their larger demo pages.
- *FOLDER* picker, not file picker?
-
Didn't want to click on refresh to see updates, this is what I did!
Well, I was at PyCon Ireland last weekend and I missed the NiceGUI talk. I hear postive things about it and anything shiney and anything frontend-related always catches my attention (although I admit talking to a friend when I missed this talk was just as fun, and it was worth it).
What are some alternatives?
blobby-generator - Generative SVG blob characters.
reflex - πΈοΈ Web apps in pure Python π
streamlit - Streamlit β A faster way to build and share data apps.
vuepython - Edit and run Python code in Vuejs
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
fengari-phaser-tutorial-02
remi - Python REMote Interface library. Platform independent. In about 100 Kbytes, perfect for your diet.
Blobby - Generative SVG blob characters
dash - Data Apps & Dashboards for Python. No JavaScript Required.
netspeed_pc - Monitor live bandwidth usage/ network speed on PC. Native version also available for Android, separately.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production