pyodide
jupyterlite
Our great sponsors
pyodide | jupyterlite | |
---|---|---|
66 | 19 | |
11,178 | 3,551 | |
2.0% | 1.8% | |
9.7 | 8.9 | |
7 days ago | 10 days ago | |
Python | TypeScript | |
Mozilla Public License 2.0 | 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.
pyodide
-
Show HN: Open-source, browser-local data exploration using DuckDB-WASM and PRQL
Thank you! Yes, one of the items in the Roadmap is support for Pyodide (https://github.com/pyodide/pyodide) for running in-browser python on the results of each of the code blocks! This should allow most ML libs to be usable in-browser! This is pretty high-up on our priority list.
- Show HN: Marimo – open-source reactive Python notebook – running in WASM
-
Why Are Tech Reporters Sleeping on the Biggest App Store Story?
If I understand correctly, WASM only makes sense for compiled languages, you can run the python interpreter in WASM of course[1], but that will be at a significant performance disadvantage to the native javascript interpreter, and it's also something that has to be loaded every time you load the website.
-
Rewrite Sympy in rust
If you absolutely need something comparable to Sympy, then one option might be to figure out how to best call Sympy from Rust. e.g. - RustPython, although it seems like Sympy isn't supported yet - Pyodide, and figuring out how to run it outside of a web browser. Probably also not very easy. - PyPy, and having a pretty simple Python binary for every platform - ...
-
IT department refuses to let me install Python and other programs/languages I need for my job.
For running programming languages other than JavaScript in the browser there is Emscripten and WebAssembly. There is v86, where a Linux build is compiled to WASM. Folks have written QuickJS into a Linux build compiled to WASM, Node.js into the Linux buildroot https://github.com/cemalgnlts/now, so Python or CPython can be written to the image and loaded into the browser as WASM as well https://github.com/pyodide/pyodide.
-
Graphs in Python web app
There's a Python runtime that runs on WebAssembly (https://github.com/pyodide/pyodide). I have no idea what it's like, I've never used it.
-
Sunday Daily Thread: What's everyone working on this week?
Still in a quest to provide some tooling to quickly compose documentation websites: https://github.com/synw/docdundee . As I have tons of libs to document and was tired of managing restructured language for readthedocs I started with this, and now it has executable Python examples in the frontend via a Pyodide wrapper composable: usePython
-
Introducing scikit-learn-ts: A powerful machine learning library for TS, auto-generated and powered by Python's #1 ML library
This project's brand new and a lil hacky, but I've already reached out to the scikit-learn team, and they recommended that I experiment with using Pyodide as an alternative backend for the Python bridge.
-
Looking for examples of an online python compiler and integrating into a Django project?
You can use my package usePython or directly Pyodide to run Python code in the browser with the ability to use Numpy and Pandas as well as any other pip package. Note that the former comes with a Vuejs code editor Vuepython
- Docker python script manager web GUI?
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://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
-
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.
- Show HN: A 100% free and interactive Python course for coding beginners
-
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
-
LibreOffice running natively in a browser via WebAssembly
Jupyter runs natively in the browser now with JupyterLite: https://github.com/jupyterlite/jupyterlite It can use a native browser JS kernel, or some languages that have been converted to run in the browser with WASM (including a full python environment called pyodide).
VS Code also runs natively in the browser now: https://code.visualstudio.com/blogs/2021/10/20/vscode-dev This uses a Chrome only (for now) filesystem access API to give the browser access to your native files--you can edit them entirely in the browser with nothing happening on a server.
- Turns Jupyter notebooks into standalone web applications and dashboards
What are some alternatives?
brython - Brython (Browser Python) is an implementation of Python 3 running in the browser
pyscript - Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2
RustPython - A Python Interpreter written in Rust
streamlit - Streamlit — A faster way to build and share data apps.
Transcrypt - Python 3.9 to JavaScript compiler - Lean, fast, open! -
PyWebIO - Write interactive web app in script way.
starboard-notebook - In-browser literate notebooks
opencv_py
gpuweb - Where the GPU for the Web work happens!
jupyter - Jupyter metapackage for installation, docs and chat
emscripten - Emscripten: An LLVM-to-WebAssembly Compiler
panel - Panel: The powerful data exploration & web app framework for Python