#pyodide — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pyodide, aggregated by home.social.
-
{livelink} will also soon be expanded over to Python just after Pyodidarian launches as the later comes with a Pyodide powered Python enhanced 4-panel editor based off of webR's.
-
webR and Shinylive already share browser-runnable links from their editors. livelink is a small R wrapper around that idea: build those links from R (scripts & projects) and decode any of them back into files. On GitHub now, CRAN in review.
Source: https://github.com/coatless-rpkg/livelink
Blog:
https://blog.thecoatlessprofessor.com/programming/r/data-science-as-a-reproducible-link/ -
A cool recent #Python change is PEP 783 <https://peps.python.org/pep-0783/>. Its practical impact is profound for users of #pyodide (Python running in the browser): They could always just install pure Python wheels from PyPI, but for those backed by C or Rust, they previously used pyodide's built-in distro. While @pyodide did a great job there, using PyPI is less work for everyone.
Consequentially, using #CBOR diagnostic notation from https://pyodide.org/en/latest/console.html is now easier than ever:
-
Bees knees that JupyterLite release 0.8 picked up URL share encoding.
But, for those more interested in Terminal emulation in WebAssembly environments, the cherry ontop is Jupyterlite-Terminal package w/ bash + vim and nano editors. May be the start of a fun new weekend project.
https://github.com/jupyterlite/terminal
https://blog.jupyter.org/jupyterlite-0-8-is-released-0c89c4200f79
-
8 песочниц в браузере без Docker: как мы изолировали выполнение кода на клиенте
Как дать пользователю выполнять JavaScript, Python и SQL прямо в браузере и не пожалеть? Разбираем восемь песочниц: Web Worker для JS, Pyodide для Python, SQL.js для SQLite, iframe sandbox для HTML/CSS, DOMPurify для Markdown, самописный эмулятор Bash. Никаких Docker-контейнеров — только клиент. Рассказываем в статье о трудностях и подводных камнях, с которыми пришлось столкнуться.
https://habr.com/ru/articles/1052034/
#песочница #изоляция_кода #webworker #webassembly #pyodide #sqljs #безопасность
-
8 песочниц в браузере без Docker: как мы изолировали выполнение кода на клиенте
Как дать пользователю выполнять JavaScript, Python и SQL прямо в браузере и не пожалеть? Разбираем восемь песочниц: Web Worker для JS, Pyodide для Python, SQL.js для SQLite, iframe sandbox для HTML/CSS, DOMPurify для Markdown, самописный эмулятор Bash. Никаких Docker-контейнеров — только клиент.
https://habr.com/ru/articles/1051752/
#разработка #песочница #изоляция_кода #web_worker #webassembly #pyodide #sql #безопасность
-
Since a .vessel can carry code someone else wrote, isolation was the main thing I designed around. Each one runs sandboxed and can only reach the network origins it declares up front. Your data stays a plain SQLite file too. Unzip a .vessel and you can open the database in any SQLite tool. Nothing locked away.
getvessel.dev
#localfirst #selfhosted #privacy #sqlite #python #pyodide #ai #opensource
-
I made a thing called Vessel. A .vessel is a single file holding an app's whole UI, a Python (FastAPI) backend, and an SQLite database, with the data living right inside the file. You install a small host once, then any .vessel opens locally and runs like a normal app. Think of it like a spreadsheet, except the document is a real web app instead of a grid!
-
🎉 BREAKING NEWS: #Python nerds release #Pyodide 314.0, and now #WebAssembly wheels can roll right onto PyPI! 🚀 Who needs stability or real-world #programming when you can have experimental socket support and a "native ES module"? 🧐 Maybe they'll figure out how to make it useful by the time PEP 783 is a distant memory. 🙄
https://blog.pyodide.org/posts/314-release/ #PEP783 #news #HackerNews #ngated -
Pyodide 314.0: Python packages can now publish WebAssembly wheels to PyPI
https://blog.pyodide.org/posts/314-release/
#HackerNews #Pyodide #WebAssembly #Python #PyPI #314.0 #development
-
If y'all would indulge me a late addition: the appropriate lines in the #RDKit code (https://github.com/rdkit/rdkit/blob/master/rdkit/Chem/Draw/__init__.py#L190-L224) can of course be modified to use the B&R blob I introduced in the essay.
What's hampering me from actually trying this out for myself is that due to RDKit not yet being supported by #Pyodide, a lot of the webservices that can run #Python from the browser (e.g. the online version of #jupyter) are also not able to load RDKit. (I have seen at least two proposals to use the JS version of RDKit instead, but I have not managed to make that work either.) Because I had written that essay, and am currently writing this toot from a smartphone (for a number of reasons, I don't have access to a computer I can use), indirectly using RDKit through Wolfram Cloud (basically the online version of Mathematica) is pretty much how I attempt to do cheminformatics experiments on a smartphone. :)
-
Did you know that you can create turtle graphics in the pyide element?
Due to some browser limitations, is it not a full implementation of the turtle module of python, but the code from your #hyperbook is compatible with the python module and should look the same. 🙏
-
Great news! My friend Professor Claudio Esperança (who teaches at UFRJ) has added many "#py5 compatibility hacks" to his online #pyscript based #Py5Script IDE, I'm thrilled. It will be an upgrade on the much loved #pyp5js #pyodide editor I use in some classes. Now one can use more advanced stuff like #numpy :D
-
We're almost there! Pyodios is in App Store review for #iOS. #Python (via #Pyodide) on your iPhone and iPad with matplotlib bundled. Soon you can write notebooks at the coffee shop and plot on the train.
While you wait: https://pyodios.caffeinatedmath.com
-
🚀🌐 Oh joy, #Pyodide promises Python in your browser, because who wouldn't want to experience Python's slowest, most bloated version yet? 🤦♂️ WebAssembly: the perfect thing to make your JavaScript nightmares even more esoteric! 😂
https://github.com/pyodide/pyodide #PythonInBrowser #WebAssembly #JavaScriptNightmares #TechHumor #DeveloperJokes #HackerNews #ngated -
Pyodide: a Python distribution based on WebAssembly
https://github.com/pyodide/pyodide
#HackerNews #Pyodide #WebAssembly #Python #Distribution #Programming #Hackers #News
-
Small update on the python-on-iOS front: the unnamed notebook app now has a name -- Pyodios -- and a new trick.
Swap between a local Pyodide kernel and a remote Jupyter backend mid-session. Want offline? Stay local. Want GPU? Call home. No drama either way.
-
🚀 Lodum v0.3.0 is here! 🐍✨
Lodum is high-performance serialization for Python (think Rust's serde). This release focuses on the future of Python in the browser:
✅ Robust WASM concurrency support (via Pyodide)
✅ Unified threading/locking API for Native + Browser
✅ Native NumPy/Pandas support
✅ Live in-browser demo!Try it out now with zero installation:
https://webmaven.github.io/lodum/latest/demo/#Python #WASM #Pyodide #OpenSource #DataScience #Serialization #Analytics
-
JupyterLite ist nun Teil des Projekts Jupyter
JupyterLite ist eine JupyterLab-Distribution, die vollständig im Webbrowser ausgeführt wird und ohne Backend auskommt. Die Kernel werden mithilfe von WebAssembly direkt im Browser gestartet, wodurch ein Anwendungsserver überflüssig wird. https://kantel.github.io/posts/2026021602_jupyter_lite/ #JupyterLite #Jupyter #JupyterLab #Python #PyScript #Pyodide #P5js #DataScience #StatischeSeiten
-
New tool!
https://keiran-rowell.github.io/assets/interactive/codon-rarity-viewer/
I vibe coded a web app version of my Rare Codon Table #python script🧬 🧮 maps rare codons onto a PDB structure.
I originally wrote a script to find protein codon rarity differences in mammalian -> bacterial expression projects.
🐍 Runs entirely locally via Pyodide — your data never leaves your browser (no server uploads)
Feedback warmly welcomed! Please let me know if there are any issues.
#bioinformatics #codon #structuralbiology #pyodide #WASM #proteins
-
"import this" hits different when you're running it from your phone.
notebook mode. coming soon.