|11 days ago||2 days ago|
|Mozilla Public License 2.0||Mozilla Public 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.
A fast SQLite PWA notebook for CSV files
6 projects | news.ycombinator.com | 30 Dec 2021
This is really wonderful! The discussion about lay people's knowledge of sql reminded me that the Pandas API is often useful for non-sql folk. Likewise there are some projects similar to dirtylittlesql to bring Python data manipulation to the browser.
Turns Jupyter notebooks into standalone web applications and dashboards
7 projects | news.ycombinator.com | 31 Aug 2021
You could consider an in browser notebook to get your cost down to near nothing - it depends a bit on what kind of tasks your students do whether they fit in the browser (one wouldn't train a large neural network in one for instance)
There's Starboard (which I'm building, it's built specifically for the browser and can integrate into a larger app deeply) and JupyterLite (the closest you will get to JupyterLab in the browser), either can be a good choice depending on your requirements. Both use Pyodide for the Python runtime.
Enabling COOP/COEP without touching the server
2 projects | dev.to | 5 Aug 2021
A few examples of web-applications that have this problem are in-browser video converters using ffmpeg.wasm, a web-based notebook that supports Python and multithreaded Emscripten applications.
I want to learn D3. I don’t want to learn Observable. Is that ok? (2019-2021)
6 projects | news.ycombinator.com | 13 Jun 2021
Outside of that use-case, I think notebooks are great for the first 20% of the effort that gets 80% of the work done. If it turns out one also needs to do the other 80% of the effort to get the last 20%, it is time to "graduate" away from a notebook. For instance if I am participating in a Kaggle machine learning competition I may train my first models in a Jupyter notebook for quick iteration on ideas, but when I settle onto a more rigid pipeline and infra, I will move to plain Python files that I can test and collaborate on.
This "graduation" from notebook to the "production/serious" environment should be straightforward, which means there shouldn't be too much magic in the notebook without me opting into it. Documentation in my eyes is not so different, I should be able to copy the examples easily into my JS project without knowing specifics of Observable and adapt it to my problem. Saying "don't be lazy and just learn Observable", or "you must learn D3 itself properly to be able to use it anyway" is not helpful. Observable being a closed, walled garden doesn't help: not being able to author notebooks without using their closed source editor is a liability that I can totally understand makes it a non-starter for some companies and individuals.
I think it's ok to plug my own project: It's called Starboard  and is truly open source . It's built on different principles: it's hackable, extendable, embeddable, shareable, and easy to check into git (i.e. I try to take what makes the web so great and put that in a notebook environment). You write vanilla JS/ES/Python/HTML/CSS, but you can also import your own more advanced cell types. Here's an example which actually introduces an Observable cell type  which is built upon the Observable runtime (which is open source) and an unofficial compiler package . I would be happy for the D3 examples to be expressed in these really-close-to-vanilla JS notebooks, but I can convince the maintainers to do so.
5 projects | news.ycombinator.com | 8 Jun 2021
Pyodide: Python for the Browser
5 projects | news.ycombinator.com | 12 May 2021
If you want to play with Pyodide in a web notebook you can try Starboard .
A sibling comment introduces JupyterLite and Brython, which are Jupyer-but-in-the-browser, whereas with Starboard I'm trying to create what Jupyter would have been if it were designed for the browser first.
As it's all static and in-browser, you can embed a notebook (or multiple) in a blog post for instance to power interactive examples. The bundle size is a lot smaller than JupyerLite for the initial load - it's more geared towards fitting into existing websites than being a complete IDE like JupyerLab.
Brython: Python in the Browser
1 project | news.ycombinator.com | 12 Apr 2021
Ask HN: What personal tools are you the most proud of making?
5 projects | news.ycombinator.com | 6 Apr 2021
How to run python code in your browser
4 projects | dev.to | 14 May 2022
Datasette Lite: a server-side Python web application running in a browser
5 projects | news.ycombinator.com | 4 May 2022
I tried building this with a Service Worker first and it didn't work, because Pyodide needs XMLHttpRequest.
I opened an issue about that here: https://github.com/pyodide/pyodide/issues/2432
Python is in the browser. No idea if this will lead to chaos or harmony...
4 projects | reddit.com/r/ProgrammerHumor | 1 May 2022
Run Python in Your HTML via Pyodide
8 projects | news.ycombinator.com | 30 Apr 2022
But some other low hanging fruit include unvendoring the special encodings for Asian languages (hopefully everyone uses utf8), the decimal library, and the xml library which are all quite large and only occasionally used.8 projects | news.ycombinator.com | 30 Apr 2022
This uses Pyodide  under the hood , which is CPython compiled to WebAssembly. In all my tests of it, loading takes a long time ~5 seconds. Coldbrew , another distribution of CPython on Wasm, is another option with similar load times.
If load time is important, Brython is pretty nice. If feature completeness is important, Pyodide and Coldbrew are probably best.
WebAssembly in my Browser Desktop Environment
12 projects | dev.to | 28 Mar 2022
Python via Pyodide
Python 3.11 in the Web Browser
9 projects | news.ycombinator.com | 26 Mar 2022
Those interested in this should check out Pyodide. It basically "just works" so long as the libraries you import are pure Python or are part of the core scientific stack (the Pyodide authors have done the work to manually port all the C code behind numpy, scipy, etc.).
What I really wish for is for ~all Python packages to work in the browser without manual porting of the underlying C/Rust/etc. being needed, since a lot of the interesting and useful libraries aren't pure Python, and manual porting is non-trivial.
I'm not sure what the best route to that future is, but I'm guessing it'd probably help if Python had a wasm runtime in its standard library, since then authors of libraries that use C/Rust/etc. might make cross-platform builds (perhaps by default).
Regarding this Pycon speech, it seems that it's related to this entry in the 3.11 changelog, which the speaker was heavily involved with:
> CPython now has experimental support for cross compiling to WebAssembly platform wasm32-emscripten. The effort is inspired by previous work like Pyodide. (Contributed by Christian Heimes and Ethan Smith in bpo-40280)
Von Jura zu Informatik wechseln
2 projects | reddit.com/r/de_EDV | 24 Mar 2022
Jupyter in the Browser, with WebAssembly
1 project | news.ycombinator.com | 19 Mar 2022
Wow this is amazing. Now all I need to deploy static machine learning demos in documentation is https://github.com/pyodide/pyodide/issues/2198
Is it possible to use Python script on a html page?
1 project | reddit.com/r/learnprogramming | 2 Mar 2022
yes you can do that : https://github.com/pyodide/pyodide
What are some alternatives?
brython - Brython (Browser Python) is an implementation of Python 3 running in the browser
RustPython - A Python Interpreter written in Rust
PyWebIO - Write interactive web app in script way.
streamlit - Streamlit — The fastest way to build data apps in Python
webview - Tiny cross-platform webview library for C/C++/Golang. Uses WebKit (Gtk/Cocoa) and Edge (Windows)
jupyterlite - Wasm powered Jupyter running in the browser 💡
yet-another-speed-dial - a modern speed dial for chrome, edge and firefox
hal9ai - Web-First Composable Data Apps
ping-heatmap - A tool for displaying subsecond offset heatmaps of ICMP ping latency
observable-state-tree - An observable state tree is a normal object except that listeners can be bound to any subtree of the state tree.