hello. I'm halcy. here's some blog posts, tagged python:

Silly Mastodon apps

Just like used to be the case with Twitter, there are a lot of very nice third-party apps for Mastodon. I’m not neccesarily very good at making those, or at least do not usually feel like writing good software for fun most days, but I do maintain Mastodon.py …

Continue reading »

Mastodon.py in the browser!

Today, I learned that PyScript exists. PyScript is, at its core, some rigging to make Pyodide, a WebAssembly port of the CPython Python interpreter, real easy to use as a proper client-side web scripting tool. Just include one <script> tag and now <script type="py"> is a valid thing you can have in your website. Put Python code inside of it, interact with the DOM, the works. I think that rules and/or is kind of horrifying, depending. Obviously, for me, the immediate question was: Can this run Mastodon.py? And the answer is: Yes, very competently.

Continue reading »
I hope you've found what you were looking for. love, halcy.