News for hackers. Stuff that matters.

codingglass

Re:Python Workers are now generally available on Tuesday September 22, 2026 @01:50PM (#49805360)
Oh for sure! Met him at PyCon a few years ago, also an awesome contributor.
Re:Python Workers are now generally available on Monday September 21, 2026 @03:26PM (#49792103)
100% agree. Hiring Hood a couple years ago was great money spent on that project (not that they shouldn't throw more cash at it =) )
Re:Pyspread – The Most Pythonic Spreadsheet on Tuesday May 07, 2024 @09:42AM (#40285350)
Looks like the interface/windowing is built on Qt/PyQt. QT does have a WebAssembly build, but I don't think it's all that simple of a transition.
There's a dependency resolution error when trying to `npm install`. I opened an issue on GH - would love to test-drive this.
Re:Python HTTP library 'urllib3' now works in the browser on Tuesday January 30, 2024 @09:04PM (#39198819)
Work keeping an eye on Chris Laffra's work in this area - he did a Python in Excel demo [1] a few months back, and while sheets aren't in his ltk framework [2] yet, the work he's done on reactivity-in-python-on-the-web there is really promising.

[1] https://github.com/laffra/excel-in-python [2] https://laffra.github.io/ltk/

Re:Python HTTP library 'urllib3' now works in the browser on Tuesday January 30, 2024 @08:53PM (#39198736)
This a a great example of good work getting 'upstreamed.' The go-to solution for using requests and urllib3 in the browser had been Koen Vossen's 'pyodide-http' package, which you'd install in PyScript/Pyodide and then call 'pyodide_http.patch_all()`. It monkey-patched requests and urllib3 to use the browser API's. [1]

Then 'pyodide-http' got adopted into the Pyodide-included packages[2], so you didn't have to specify it for install, just import it and run patch_all().

And now a similar technique has been incorporated directly into urllib3. (Not a direct port - as far as I know Joe Marshall and others did a full reimplementation so that urllib3's API's would be maintained as much as possible). [2]

Very cool.

Edit: Looks like there's a note to this same effect on Seth Larson's post about urllib3's future. [3]

[1] https://github.com/koenvo/pyodide-http

[2] https://pyodide.org/en/stable/usage/packages-in-pyodide.html

[3] https://sethmlarson.dev/urllib3-is-fundraising-for-http2-sup...

Re:Python HTTP library 'urllib3' now works in the browser on Tuesday January 30, 2024 @08:39PM (#39198629)
PyScript maintainer here - I'd love to hear more about this application! Either here, or over on our Discord (invite link is on the GitHub Page [1]).

[1] https://github.com/pyscript/pyscript?tab=readme-ov-file#summ...