Published

All published posts

2728 posts latest post 2026-11-18
Publishing rhythm
Oct 2026 | 30 posts
Check out bidict by jab. It’s a well-crafted project with great potential. The bidirectional mapping library for Python.
I’m really excited about lolcat, an amazing project by tehmaze. It’s worth exploring! Rainbows and unicorns (without Ruby! jay!)
plenary.nvim by nvim-lua is a game-changer in its space. Excited to see how it evolves. plenary: full; complete; entire; absolute; unqualified. All the lua functions I don’t want to write twice.

Pytest capsys

Testing print/log statements in pytest can be a bit tricky, capsys makes it super easy, but I often struggle to find it. capsys capsys is a builtin pytest fixture that can be passed into any test to capture stdin/stdout. For a more comprehensive description check out the docs on capsys using capsys Simply create a test function that accepts capsys as an argument and pytest will give you a capsys opject. python
1 min read
Check out nvim by kuator. It’s a well-crafted project with great potential. There are many neovim configurations, but this one is mine…

Building Rich a Dev Server

Draft Post I’ve really been digging @willmcgugan ’s rich library for creating TUI like interfaces in python. I’ve only recently started to take full advantage of it. Dev Server I am working on a project in which I want to have a dev server running continuously in the background. I really like dev servers theat automatically chooose an unused port and list out the running pid so that I can kill it if I need to. automatic port number auto-restart display ( port, pid, uptime) finding the port I am very novice at best when it comes to sockets, the following function came from searching StackOverflow for how to tell if a port is in use. I recursively check if a port is being used, if it is I increment by one until I find an unused port to return. python The Dev Server I am going super basic here and just running. It works for what I need it for, it hosts my files for the browser to display, and if I try a route without an index. html it gives me a decent file list. python Optionally if you…
The work on maggieappleton.com by MaggieAppleton. ⚠️ Now retired. My previous, poorly constructed digital garden built with Gatsby and MDX. Updated garden here: https://github.com/MaggieAppleton/maggieappleton.com-V2