Hi, I'm Karel Schwab.
Driven by curiosity and fueled by coffee, I'm always experimenting with new ideas and sharing the interesting things I learn along the way. I write about them here on my blog. I also have a section where I post shorts. These are pieces of content without all the blog post fluff and include random thoughts, guides, cheat sheets, helpful tidbits, and the code blocks used in blog posts to illustrate concepts.
Latest Writing
-
November 29, 2025
Hashable objects in Python
Learn what hashable objects are in Python, why they matter for sets and dictionaries, and how to make your own classes hashable with __eq__ and __hash__
python hashability objectsShort-form version available → -
November 16, 2025
Python Counter
A quick guide on how to use the incredibly useful Counter class from Python’s collections module
python collectionsShort-form version available → -
November 8, 2025
Convert a BooleanField to a CharField while maintaining state in Django
A how-to guide on coverting a BooleanField to a CharField with choices while maintaining the original state in Django
django python database