TIL: How to type args and kwargs
Explains how to correctly type *args and **kwargs in Python to pass type checkers, avoiding common mistakes.
Daniel Feldroy’s blog, daniel.feldroy.com, is a personal site by coder, author, and speaker Daniel Feldroy, known in the tech community as "pydanny" and co-author of Two Scoops of Django. Based in London, Daniel shares insights about his life, including his work at Kraken Tech, a part of the Octopus Energy Group focused on tackling climate change. The blog, built using the FastHTML framework, covers various topics beyond Python, reflecting Daniel's broader interests in coding, writing, and Brazilian Jiu-Jitsu. His former site, pydanny.com, now redirects here to reflect his evolving focus beyond just Python.
24 articles from this blog
Explains how to correctly type *args and **kwargs in Python to pass type checkers, avoiding common mistakes.
How to use uv to manage a single source for your Python package version, eliminating the need to update it in multiple files.
Using uv run with Make to test Python code across multiple versions, replacing tools like Tox or Nox.
A quick guide on using exiftool to remove GPS location data from images and videos for privacy.