py-shiny
Transcrypt
Our great sponsors
py-shiny | Transcrypt | |
---|---|---|
29 | 16 | |
940 | 2,808 | |
7.6% | 0.4% | |
9.7 | 3.2 | |
4 days ago | 9 months ago | |
Python | Python | |
MIT 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.
py-shiny
-
Designing a Pure Python Web Framework
I really like this idea of using Python to create both the frontend and backend. Another lib doing this is https://solara.dev/ . Something I particularly like about Solara is that you can interactively build your app in a Jupyter Notebook, since behind the scenes it's using ipywidgets.
Has anyone compared Solara and Reflex and can comment on pros/cons? Are there other options in this space? Maybe https://shiny.posit.co/py/ ?
-
FastUI: Build Better UIs Faster
Would you consider giving Shiny (for Python) a try? https://shiny.posit.co/py/ It's (I hope) pretty close to Streamlit in ease of use for getting started, but reactive programming runs all the way through it. The kind of app you're talking about are extremely natural to write in Shiny, you don't have to keep track of state yourself at all.
If you decide to give it a try and have trouble, please email me (email in profile) or drop by the Discord (https://discord.gg/yMGCamUMnS).
-
py-shiny VS solara - a user suggested alternative
2 projects | 13 Oct 2023
-
Duckdb + Shiny for Python example
Code is here: https://github.com/rstudio/py-shiny/tree/duckdb-example/examples/duckdb
-
Transitioning from R to Python - any tips?
The equivalent of shiny in python is shiny for python: https://shiny.posit.co/py/
- Show HN: Mercury β convert Jupyter Notebooks to Web Apps without code rewriting
- Shiny for Python β building interactive web apps from Python
- Shiny β Web Pages in Python
-
Tidyverse 2.0.0
I'm not sure how usable it is, but Shiny for Python exists: https://shiny.rstudio.com/py/
-
Graphs in Python web app
There's Shiny for Python - originally for R - but it's only Alpha status: https://shiny.rstudio.com/py/
Transcrypt
- Ask HN: Why don't browsers just build a non-JS interpreter?
-
How does PyScript actually work?
This is the primary difference between Pyodide and projects like Transcrypt or Brython: rather than transpiling to JavaScript, you get the real-deal CPython interpreter running client-side in the user's browser. There are a few things that don't work out of the box, since CPython usually runs on a computer and the Browser environment has some unique restrictions (lack of low-level access to networking, for one), but most things do just work.
-
alternatives to the javascript ecosystem
In the past, I've personally used GWT to transpile Java to JavaScript in order to share some complex code modules that we needed to use on both the server and client for an enterprise application. In more recent years, I've been using Transcrypt to develop React/MUI applications that are coded in Python. So I'm able to use JS libraries that are proven to work great in a web browser, but use my preferred language to code to the API of those libraries. This approach is certainly not for everyone, but it can be a viable option in some cases.
-
What's your Python story?
I now use Python everywhere. Desktop (PySide), embedded (MicroPython), web dev (React via Transcrypt), mobile (Kivy), and just general scripting. I love the versatility of Python, the ease of reading it without the visual cruft of other languages, and the availability of existing libraries that do just about everything you can think of. I also agree with the OP on the welcoming attitude of the Python community. The fact that Python is used in so many different areas leads to many new learning experiences when talking to other Python developers.
-
After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?
Transcrypt is pretty usable for this.
-
What do you guys use python for?
Transcrypt transpiles Python into JavaScript in the same way that TypeScript gets transpiled into JavaScript. It lets Python code word with JavaScript libraries that can then be run in a web browser.
-
Graphs in Python web app
There are options for writing Python and transpiling it into JavaScript but, frankly, they suck (https://www.transcrypt.org/).
-
React JSX vs react with HMTL
Lol, I'll tell you but you're not gonna like it - I write React applications in Python using a Python-to-JS transpiler called Transcrypt, and the source needs to be valid lintable Python code, so no JSX.
-
What is the best way to parse python code?
The Python AST module exists for this purpose and works by tokenizing individual pieces of the source code. It's also how transpilers such as Transcrypt work their magic to convert Python code to other languages.
-
We've been lied to: JavaScript is fast
https://github.com/qquick/Transcrypt
What are some alternatives?
Solara - A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps
brython - Brython (Browser Python) is an implementation of Python 3 running in the browser
pyvibe - Generate styled HTML pages from Python
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
Genie.jl - π§The highly productive Julia web framework
sqlglot - Python SQL Parser and Transpiler
Tidier.jl - Meta-package for data analysis in Julia, modeled after the R tidyverse.
python-functions
React - The library for web and native user interfaces.
krustlet - Kubernetes Rust Kubelet
streamlit - Streamlit β A faster way to build and share data apps.
jupyterlite - Wasm powered Jupyter running in the browser π‘