starfyre
pyscript
starfyre | pyscript | |
---|---|---|
11 | 42 | |
452 | 17,458 | |
2.2% | 0.3% | |
8.2 | 9.2 | |
13 days ago | 3 days ago | |
Python | Python | |
BSD 2-clause "Simplified" License | 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.
starfyre
- Show HN: I made a fronted web framework in Python
- Starfyre – Make usable front end apps using Python
- Show HN: Starfyre – A WASM Based SSR Python Front End Web Framework
-
Starfyre - A reactive SSR Python Web Framework for Front-End Applications [v0.17.0 Update]
Some of them are: - File-based routing - python -> js transpiler - CSS support - built-in state management and with the latest release - we have a built-in dev server - and a --create cli flag allowing a quick scaffolding of the app
- It's React, but in Python
- After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?
- Starfyre – a toolkit for developing front-end applications using only Python
-
Starfyre - A Python Web Framework for creating frontend web applications
You can check out the project at https://github.com/sansyrox/starfyre I have also created a blog to explain the future visions - https://sanskar.wtf/posts/hello-starfyre Most importantly, you can find an example app on GitHub(https://github.com/sansyrox/first-starfyre-app). Feel free to share your thoughts and suggestions! I'm all ears and can't wait to hear what you all think! 😄
-
Introducing Starfyre: A Pure Python Framework for writing Reactive Front-End Applications
I have been working on a new framework called Starfyre (https://github.com/sansyrox/starfyre) that allows you to write reactive frontend apps in Python. It's based on Pyodide and WASM, and aims to reduce the need to write JavaScript for front-end development.
pyscript
- Show HN: Dillo 3.1.0 released after 9 years
-
RustPython
You are right for the most part. I attended a talk about pyscript[1] (runs python in the browser using wasm which is similar) and there is a 2x performance hit.
[1] https://pyscript.net
-
Python HTTP library 'urllib3' now works in the browser
PyScript maintainer here - I'd love to hear more about this application! Either here, or over on our Discord (invite link is on the GitHub Page [1]).
[1] https://github.com/pyscript/pyscript?tab=readme-ov-file#summ...
-
Convert code from alpha version to latest version. Where to find complete and precise changelogs?
For the first question - why your code previously created an HTML node but now just prints out the literal characters of the HTML - that was a change made in 2022.12.1, in Pull Request 915 to be specific. You can check out the single-line change that caused this, if you want. Essentially, calls to Element.write() or display() have their contents escaped by default, which wasn't the case before.
-
How to access py-click from py-script?
Note that in the current release (2023.03.1 at time of writing), py-[event] listeners are only hooked up once at page-load time, so changing that attribute after the page loads won't do anything. In the upcoming release, py-[event] handlers are dynamically attached and managed each time a py-[event] attribute on the page is changed. (PR 1435)
-
After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?
PyScript started as a usability layer around Pyodide for those not used to working in JS. It's now working on things like incorporating the Micropython runtime as an alternative, moving the interpreter to a worker thread, adding a plugins ecosystem, easier events API's, and more.
-
Any way to display "working..." while waiting for py-reml to evaluate?
Some answers: https://github.com/pyscript/pyscript/discussions/1414
-
How does PyScript work with 3rd party JS libraries, like Three.js ?
You can also check out the WebGL demo from the PyScript examples, which uses Thee.JS.
-
NameError question
Mainly, the pys-onClick syntax that was present in earlier version in favor of the new py-* syntax, where * is a browser event name. It also takes a string of executable python instead of the name of a Callable. So in your case, you'd use py-click="get_input()". (There's a long-in-progress PR on GitHub with more examples.)
- Intrebare frontend
What are some alternatives?
streamsync - No-code in the front, Python in the back. An open-source framework for creating data apps.
brython - Brython (Browser Python) is an implementation of Python 3 running in the browser
first-starfyre-app - https://first-starfyre-app.netlify.app/
appdaemon - :page_facing_up: Python Apps for Home Automation
silkflow - Targetting Kindles as the display device, SilkFlow is a fine grained reactive Python framework - think mashup of Plotly Dash and SolidJS.
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
nicegui - Create web-based user interfaces with Python. The nice way.
django-readers - A lightweight function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects.
pyvibe - Generate styled HTML pages from Python
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
create-starfyre-app
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime