treyhunner, to python
@treyhunner@mastodon.social avatar

Today I'm wondering how I could get the new Python 3.13 REPL working in WebAssembly in the browser. 🤔

xterm-pty for xterm.js looks possibly helpful, but I'm unsure how to use it: https://github.com/mame/xterm-pty

I'm also wondering what CPython will need to be configured in its environment to properly trigger the new REPL.

I'm a TTY novice and definitely feel in over my head with this train of thought. 😅

#Python #WebAssembly #CPython #WASM #Emscripten #xtermjs

treyhunner,
@treyhunner@mastodon.social avatar

I'd love to collaborate with (or shamelessly copy/mimic!) smart folks like the Pyodide devs, the PyScript devs, or @notsolonecoder... but this new REPL is so new that I doubt many WebAssembly-oriented folks have tried playing with this yet!

This thought path did inspired me to rewatch @phildini and Asheesh's talk on Python & TTYs.

It's even more interesting than I remember, possibly because I care more about TTYs now than when I fist watched it!

https://youtu.be/XVhSjZYwZJo?si=fCQ89vmrrZL4cQyY

villares, to random
@villares@ciberlandia.pt avatar
nogajun, to python Japanese
@nogajun@mastodon.social avatar

ブラウザでPythonを動かすPyScriptが早くなってる。まだ、待ち時間はあるけど、動くまでちょっと遅いぐらいに速度が上がってるから実用に近くなってきてる

PyScript is a platform for Python in the browser.: https://pyscript.net/

villares, (edited ) to python
@villares@ciberlandia.pt avatar
christyheaton, to random
@christyheaton@mas.to avatar

There's an eclipse tomorrow! So fun presenting my lightning talk on mapping the totality path with and !

mariatta, to python
@mariatta@fosstodon.org avatar

Slides from Fabio Pliger's talk: Next Level Python Applications with PyScript

https://fpliger.pyscriptapps.com/talks-pycascades-2024/latest/

linuxmagazine, to python
@linuxmagazine@fosstodon.org avatar

From today's Linux Update newsletter: Pete Metlcalfe shows you how to use your favorite libraries on client-side web pages with https://www.linux-magazine.com/Issues/2024/278/PyScript

webology, to random
@webology@mastodon.social avatar

✨ This is so cool.

😶‍🌫️ I dream of seeing Django run in the browser.

🤔 I also dream of the next generation of solutions that aren't bringing the entire Python library via Pyodide to the browser.

🤷 Why the nitpick? I want this tech to work on mobile browsers on phones that can't or don't need to bring the entire Python language and standard libraries. https://fosstodon.org/@sethmlarson/111845671845990883

paulox,
@paulox@fosstodon.org avatar

@webology @patrick I agree with you. I think is trying to solve the same problems of overheard and download size.

robertklep, to homeassistant
@robertklep@c.im avatar

for is great, especially combined with service call responses 😊

I just implemented a script that implements a generic "throttle" service that I can use to throttle an automation that handles dynamic events (so I can't use mode: single with a delay).

Script: https://gist.github.com/robertklep/ea214736e6cad44ad92ae78b2b5afc42

pietroppeter, to python
@pietroppeter@fosstodon.org avatar

Weird experiments with and continue. This time I have a hacky example of using (with backend) inside a .py notebook (the try and catch ImportError is a workaround because I cannot have a context manager without yield, I will probably change the api to use something else, maybe a decorator on a function): https://nimib-land.github.io/nimib.py/bunny_meets_whaley.html

kubikpixel, (edited ) to webdev
@kubikpixel@chaos.social avatar

deleted_by_author

  • Loading...
  • jedie,
    @jedie@chaos.social avatar

    @tshirtman @kubikpixelthere was PyPy.js a few years ago. The Problem with big downloads was also known the showstopper.

    Think with may be a practical solution. Because it's smaller.

    villares, to python Portuguese
    @villares@ciberlandia.pt avatar

    A warm welcome to the most amazing & generous core developer, Jeff Glass, follow @jeffglass and check out, did I say amazing already?, https://jeff.glass Thanks Jeff for the most wonderful pyscript resources.

    christyheaton, to python
    @christyheaton@mas.to avatar

    My talk on making a web map with is available to watch! https://youtu.be/eF2EQFaPEJg

    sadukie, to python
    @sadukie@hachyderm.io avatar

    PyOhio sessions are going on right now!! Tune in at: https://www.pyohio.org/2023/

    sadukie, to random
    @sadukie@hachyderm.io avatar

    This is going live tomorrow morning as part of @PyOhio ! Looking forward to sharing how to get started with !

    Get the schedule and all the details at https://pyohio.org/2023

    sadukie, to random
    @sadukie@hachyderm.io avatar

    Looking forward to sharing how to get started with as part of tomorrow!!! https://pyohio.org/2023/

    Also stay tuned for a supplemental video because between the recording and now, I've been playing more and have something else to show you!

    linuxmagazine, (edited ) to linux
    @linuxmagazine@fosstodon.org avatar

    Issue 278 is available now! We look at scientific computing with a Bitcoin mining rig. This month's DVD includes Kubuntu Desktop 23.10 and @fedora 39 Workstation https://www.linux-magazine.com/Issues/2024/278

    sadukie, to random
    @sadukie@hachyderm.io avatar

    Really excited to be a part of the line-up this year! My video goes live some time on December 16th - talking about getting started with . Stay tuned for the schedule:

    https://www.pyohio.org/2023/

    villares, (edited ) to random Portuguese
    @villares@ciberlandia.pt avatar
    christyheaton, to maps
    @christyheaton@mas.to avatar

    I am so excited to share that I will be giving a talk at next month! Learn about , , and with me! https://www.pyohio.org/2023/talks/build-a-web-map-with-pyscript/

    paulox, to python
    @paulox@fosstodon.org avatar

    RT @pyscript_dev

    We are so happy to announce PyScript 2023.11.1 !

    PyScript has been re-written intensively and brings MASSIVE changes!

    Better performance, smaller, more extensible, support for workers, Micropython & much more!

    Check out the release post & try it out!
    https://jeff.glass/post/whats-new-pyscript-2023-11-1/

    christyheaton, to random
    @christyheaton@mas.to avatar

    Day 4: A Bad Map. Seattle neighborhoods colored by name alphabetically. It may look cool but good luck figuring out which neighborhood is which! Made with and . Data from .
    https://cheaton.pyscriptapps.com/30daymapchallenge-day4/latest/

    christyheaton, to random
    @christyheaton@mas.to avatar

    Day 3: Polygons. A country guesser game! Every time you refresh the page (page may take ~30 seconds to load), a new mystery country will be shown. Take a (mental) guess and then hover over the area to see if you were right. Made with and . Data from .
    https://cheaton.pyscriptapps.com/30daymapchallenge-day3/latest/

    christyheaton, to random
    @christyheaton@mas.to avatar

    Day 2: Lines. GPS tracks at Lake Union. Made with and . Data from .
    https://cheaton.pyscriptapps.com/30daymapchallenge-day2/latest/

    ambv, (edited ) to threejs
    @ambv@mastodon.social avatar

    I took part in this year and managed to make a simple 3D game with and .

    This technology is quite something, it runs at 120 FPS in Chrome at 4K... while the game logic is in .

    I wrote a few words on my experience here: https://pyweek.org/d/7804/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines