Who doesn’t like a pointless opinionated ranked list they can argue with? Heck I couldn’t agree with myself where to put some of these. Let’s get started: The Best Named Models 5. dictdiffer If Star Wars movies were still being made, Leah would probably now say...
Continue reading...python
You Should Use __all__
In the latest Python Weekly issue 607, there was a well written article by James Turk called You Don’t Need __all__ (waybackmachine backup link) which seemed to miss an important point I wanted to discuss. With no way to comment on his blog, I decided might...
Continue reading...Box 7 is out! But should you use it?
Box is not going away, nor is the author going away, nor is it dangerous to use or anything like that. But after a decade after Box was released, Python 3.11 has better built-ins and other tools may have better specific use cases for you!
Continue reading...Python patterns only beginners use
There are a few things that you won’t ever see senior Python developers committing to code, but may not be explicitly taught. Most of these things you won’t even see senior programmers doing in their small side scripts. However you should never see or write these...
Continue reading...Using AVIF and HEIF images with Python / PIL
Modern image formats come with huge quality and compression improvements, but at the cost of accessibly until there is wider adoption. Right now (2022-08) Pillow, PIL’s primary fork, doesn’t have support for either AVIF or HEIF of the box. But thanks to other packages we aren’t...
Continue reading...