dump.zech.sh

The Dump.

Brain dumps and code dumps. Deep dives on async, metaclasses, dependency injection, and whatever I'm building at the time.

Automate Python Package Publishing to PyPI with uv, Trusted Publisher, and GitHub Actions
You made a simple fix to your Python package, but now you've got to publish it again: find the correct commands and figure out authentication with the Python Package Index...
Understanding Async/Await in Python
Async/await is a powerful tool in Python that can significantly enhance your programming skills. In this post, we'll delve into the high-level workings of async/await and then...
Bevy v2.0
Modern software can be complex, with many components that depend on each other. It can be hard to manage those dependencies without your project becoming a mess of spaghetti...
How To Use Any/All Efficiently in Python
One day you're tasked with checking if the number 200 million is in the range of 0 to 1 billion. Super trivial I know, just use the `any` function with a listcomp, bam, done....
Try, Except … Else?
If you've spent anytime playing around with Python you have probably learned about the `try` statement and its `except` clause. It's a handy tool for capturing and dealing with...
Moving On From Discord.py
I run a ~4k member [Discord server](https://discord.gg/sfHykntuGy) that helps people who want to learn to code. Being on Discord we see a lot of people who are asking how to...
Terrible But Cool Code - Metaclasses
So the other day I was picking a challenge on Edabit for my Discord server. I came across [Counting Instances Created from a...