#pyodide

N-gated Hacker Newsngate
2025-04-28

🎁 Hey, let's give away software for free! Just throw some , , and a sprinkle of into the void of the internet, and voilà, you've gifted a ticking time bomb to the world! 🤡 to the rescue, because who doesn't want Python apps running in a browser while you sip margaritas on a beach, free from the corporate yoke of... paying hosting bills. 🌴💸
simonwillison.net/2025/Apr/28/

st1nger :unverified: 🏴‍☠️ :linux: :freebsd:st1nger@infosec.exchange
2025-04-17

The #MCP Run #Python package is an MCP server that allows agents to execute Python code in a secure, sandboxed environment. It uses #Pyodide to run Python code in a #JavaScript environment with Deno, isolating execution from the host system. ai.pydantic.dev/mcp/run-python/

2025-03-17

An unplanned product of the #IETFHackathon was a new #CoAP tool: coap.amsuess.com/view/##coaps+ is now usable as a browser tool to fetch CoAP resources.
It is not pretty, and takes a few seconds to load, but then it's just 150 lines of code, building on aiocoap and #pyodide.

2025-03-04

Probando por primera vez #revealjs para presentar la introducción a la programación a mi alumnado de bachillerato. Me ha gustado mucho la extensión drop de #quarto que permite implementar una consola para ejecutar código bien con la instalación en el entorno local o bien con #pyodide si decidiese colgarla online.

quarto.org/docs/presentations/

Extensión: github.com/r-wasm/quarto-drop?

James Balamutacoatless
2025-03-01

Have you explored WebAssembly technologies for teaching? I'd love to hear your experiences with these emerging tools for interactive data science education!

James Balamutacoatless
2025-03-01

In this presentation, I showcase how WebAssembly (WASM) brings interactive coding directly into slide decks using Python (via Pyodide) through quarto-live - the official Posit Quarto WebAssembly backend by George Stagg.

Alexandre B A Villares 🐍villares@ciberlandia.pt
2025-02-20
Frank Abelbeckfrank@troet.cafe
2025-01-08

TIL there is pyodide (pyodide.org/).

Well, should I port the FlightBox frontend and the Abelbeck Aviation Checklist to Python? 🤔

Con:
- need to dive into a new framework
- dump JS work so far

Pro:
- back on home ground! 🙂
- simplifies the code base (JS is rather awkward)

#python #pyodide #javascript #avgeek #aviationgeek

2025-01-08

This model has me excited, web pages that asynchronously load #Python and #Pyodide for a seamless experience for the user while allowing developers to use Python.

kai.bi/post/run-python-program

George Stagggws@fosstodon.org
2025-01-04

Recently I've been working on getting #polars running in #pyodide. This was a fun one, even requiring patches to LLVM's #wasm writer! Everything has now been upstreamed and earlier this week Pyodide v0.27.0 released, including a Wasm build of Polars usable in the Pyodide REPL, Shinylive and Quarto Live 🎉

A screenshot of a Pyodide REPL executing Polars code:

import polars as pl
import requests
r = requests.get("https://raw.githubusercontent.com/pola-rs/polars/refs/heads/main/examples/datasets/foods2.csv")
pl.read_csv(r.content).group_by("category").mean()A screenshot of a Quarto Live cell executing Polars code:

import polars as pl
import requests
r = requests.get("https://raw.githubusercontent.com/pola-rs/polars/refs/heads/main/examples/datasets/foods2.csv")
pl.read_csv(r.content).group_by("category").mean()A screenshot of a Shinylive app using Polars code:

from shiny import App, render, ui
import polars as pl
from pathlib import Path

app_ui = ui.page_fluid(
    ui.input_select("cyl", "Select Cylinders", choices=["4", "6", "8"]),
    ui.output_data_frame("filtered_data")
)

def server(input, output, session):
    df = pl.read_csv(Path(__file__).parent / "mtcars.csv")
    
    @output
    @render.data_frame
    def filtered_data():
        return (df
                .filter(pl.col("cyl") == int(input.cyl()))
                .select(["mpg", "cyl", "hp"]))

app = App(app_ui, server)
2024-12-10

My #AOC day 9 - part 2 takes around 4s to run on local #python installation and 7s on pykernel which is based on #pyodide.

I see people posting in python discord that their solutions take less than a second to run! Seems like I have a lot of optimization left to do.

pykernel.com/aoc/2024/09

2024-10-31

A couple of days ago, I shared a sneak peek of my latest project: fosstodon.org/@saiyalamarty/11. Today, I’m excited to announce that we’ve added a waitlist to the landing page!

If you’re interested in being among the first to try out Pykernel and joining the beta program, sign up now to secure your spot.

pykernel.com
#Python #Pyscript #pyodide #WASM

James Balamutacoatless
2024-10-29

🎓 Excited to speak at @pyOpenSci's Fall Festival! Join me for insights on the future of education using tools like & with .

📅 Nov 1st, Workshop: "Reproducible reports and presentations"

Perfect for educators & practitioners!

📚 Get a head start!
💡 Presentation preview: tutorials.thecoatlessprofessor

🐙 Code:
github.com/coatless-tutorials/

Screenshot of the next generation of data science education website talk.
George Stagggws@fosstodon.org
2024-09-26

You know you're in deep when you're debugging by writing LLVM IR by hand. Totally worth it, though.

This requires a custom build of LLVM and rustc to compile right now, but here is a sneak preview of #polars on #pyodide, running under #wasm.

Screenshot. The polars Python package is imported into pyodide, running under WebAssembly. A DataFrame filter example is shown.

#LazyFedi There was a very cool blog post by some of the JupyterLite authors describing the technical hurdles they had to overcome to run Jupyter on Pyodide (things like running a Tornado web server without blocking the main thread etc) but I can't seem to find it... @jtp @ProjectJupyter or anyone, any clue?

#python #jupyter #pyodide #pyscript

@bearstech

#Pyodide is a port of CPython to WebAssembly/Emscripten.

Funny hackathon.

But do you want to invest time & money to dance on top of that ?

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst