brython
jupyterlite
brython | jupyterlite | |
---|---|---|
12 | 19 | |
6,262 | 3,661 | |
0.4% | 2.8% | |
9.8 | 8.9 | |
4 days ago | 4 days ago | |
Python | TypeScript | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" 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.
brython
- Brython (Browser Python) is an implementation of Python 3 running in the browser
-
Python on a website
Or through an interpreter: https://github.com/brython-dev/brython
- Brython-3.10.6 Python to JavaScript JIT Now Using Abstract Syntax Tree
-
Do you want to use PyScript?
I'm a bit sceptical. It's actually not the first time someone wants to include Python in the browser, for example, brython has tried something similar.
-
Run Python in Your HTML via Pyodide
This uses Pyodide [0] under the hood [1], which is CPython compiled to WebAssembly. In all my tests of it, loading takes a long time ~5 seconds. Coldbrew [2], another distribution of CPython on Wasm, is another option with similar load times.
And Brython [3] is a completely different option without long load time: a Python interpreter implemented in JavaScript.
If load time is important, Brython is pretty nice. If feature completeness is important, Pyodide and Coldbrew are probably best.
[0] https://github.com/pyscript/pyscript/blob/main/pyscriptjs/sr...
[1] https://github.com/pyodide/pyodide
[2] https://github.com/plasticityai/coldbrew
[3] https://github.com/brython-dev/brython
-
Is JavaScript necessary for python web developer.
Brython python implementation that runs in the browser
-
hello guys...I am new to web development and want to know if I can use python for client-side development?
Yes you can use a tool such as brython. But i think you should learn javascript of you want to be a web developer.
-
Front end with python.
Check out Brython: https://github.com/brython-dev/brython
- Show HN: Brython is an implementation of Python 3 running in the browser
-
How would you implement a remote REPL? (e.g. Redis)
https://github.com/brython-dev/brython/blob/master/www/console.html is https://brython.info/console.html - a full interpreter running in the browser
jupyterlite
-
SymPy: Symbolic Mathematics in Python
The JupyterLite Python-compiled-to-WASM build has NumPy, SciPy, matplotlib, and SymPy installed; so you can do computer algebra with SymPy in a browser tab.
https://JupyterLite.rtfd.io/
https://github.com/jupyterlite/jupyterlite/tree/main/py/jupy... :
> Initial support for interactive visualization libraries such as: altair, bqplot, ipywidgets, matplotlib, and plotly
- Vscode.dev: Local Development with Cloud Tools
-
Show HN: Ipython-GPT, a Jupyter/IPython Interface to Chat GPT
https://jupyterlite.readthedocs.io/en/latest/howto/extension... :
> We recommend checking out how to create a server extension first
From https://github.com/jupyterlite/jupyterlite/issues/237#issuec... re: 'micropip':
%pip install $@
-
Show HN: Classic FPS Wolfenstein 3D brought in the browser via Emscripten
https://github.com/emscripten-forge/recipes/tree/main/recipe...
Re: emscripten fs implementations: https://github.com/emscripten-core/emscripten/issues/15041#i... https://github.com/jupyterlite/jupyterlite/issues/315
-
Jupyterlab Desktop
Agreed that would be a killer feature. Unzip this package and get a functional Python + Jupyter + scientific (numpy, pandas, scipy, matplotlib) environment.
I have been on-and-off teaching some people Python and the initial setup on-ramp is horrible. Ok, so install Python, now ignore-this-for-now-complications: create a "virtualenv", use this thing called "pip", install these half-dozen things to get a basic notebook (Jupyter + scipy things), install these other half-dozen quality of life things, you should probably also have "conda" for the future, etc. That's a lot of nonsense for someone I am trying to show an alternative to Excel.
My shortcut, "You want to try Python?" approach has been to start with JupyterLite[0] where I can immediately get people coding and delay that pain.
[0] https://github.com/jupyterlite/jupyterlite
- Show HN: A 100% free and interactive Python course for coding beginners
- What Are People Building With WebAssembly?
-
Hacker News top posts: Nov 29, 2022
JupyterLite: a JupyterLab distribution that runs in the browser\ (45 comments)
- JupyterLite is a JupyterLab distribution that runs in the browser
- JupyterLite: a JupyterLab distribution that runs in the browser
What are some alternatives?
pyscript - Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2
starboard-notebook - In-browser literate notebooks
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
Transcrypt - Python 3.9 to JavaScript compiler - Lean, fast, open! -
panel - Panel: The powerful data exploration & web app framework for Python
anvil-runtime - The runtime engine for hosting Anvil web apps
xeus-cling - Jupyter kernel for the C++ programming language
pypyjs - PyPy compiled to JavaScript
streamlit - Streamlit — A faster way to build and share data apps.
remi - Python REMote Interface library. Platform independent. In about 100 Kbytes, perfect for your diet.