Latest articles

Subscribe via RSS

  • If you’re doing any type of web development in Python, there’s a good chance you’ve heard about FastAPI by now. If not, go check it out now. It’s performant, intuitive and time saving (thanks to Pydantic / type hinting) and it supports API standards, e.g. OpenAPI (previously Swagger). You cannot leave this powerful framework out of your […]


  • Listen now: How much deep work do you get done on a typical work day? In our case, we thought plenty. It turns out that lately it’s been less and less. As the authors of Practical Productivity with PyBites this came as quite a shock! But as you’ll learn in this episode, productivity is insidious. You can be […]


  • This is the third part of a series of articles dealing with the type annotation system in Python, type hints for short. The second part discussed a set of beginner examples and highlighted the benefits of using type hints. This article series is aimed at newcomers to type hints and wants to help you get […]


  • You know those nights when you want to work on writing or your coding project or side gig? You want to grow outside of the confines of a day-to-day job but you feel like the job has taken everything out of you. You get tired. You feel like you’re on the last bar of the […]


  • ,

    A debugging tale

    ·

    ·

    5 min read

    I ran into an interesting issue debugging the other day … I used isort with pre-commit to automatically sort imports before committing my code. This is a huge time saver and I am very thankful for both tools, as well as black and flake8. They save a ton of time and they instantly boost the […]


  • Facial Recognition with Python

    ·

    ·

    5 min read

    Identifying faces I was asked by Bob to write a guest article for the PyBites blog, so whilst this isn’t my first blog article, it is my first ever guest blog article of which I’m immensely proud and very pleased to have written for Pybites. In this article, I will detail how I used the […]


  • In this article I will share 3 libraries I often use to isolate my environment variables from production code. Why is this important? Separate config from code As we can read in The Twelve-Factor App / III. Config: Apps sometimes store config as constants in the code. This is a violation of twelve-factor, which requires strict […]


  • This article covers how to package your Python code as a CLI application using just the official PyPA provided tools, without installing additional external dependencies. If you prefer reading code to reading words, you can find the full example demo code discussed in this article here: example repo of Python CLI packaged with PyPA setuptools […]


  • This is the second part of a series of articles dealing with the type annotation system in Python, type hints for short. The first part gave an introduction to type hints. This article is aimed at newcomers to type hints and wants to help you get started. In this second part, I will go over […]