How to make refactoring part of your Definition of Done Writing code is an iterative process. The first iteration is usually not the best result. Grooming and polishing ✨ are needed before the code is ready to share with the world (and your future self). There is a saying in software development that illustrates the… Continue reading When to refactor your code?
Articles on Tools
How to better streamline your Python project using a Makefile
By Bob Belderbos on 2 August 2023
Makefiles are awesome, and you can use them in your Python projects too (they are not only to compile and build C/C++ projects that is) 😎 They help you automate various tasks and streamline the development process overall 🚀 They allow you to: – Manage dependencies– Run tests– Build documentation– Format your code– Lint and… Continue reading How to better streamline your Python project using a Makefile
Dane Hillard on Python packaging and effective developer tooling
By PyBites Team on 5 April 2023
Watch here: Or listen here: In this week’s episode we talk with Dane about packaging and the rich ecosystem of Python tooling. Dane is the author of Publishing Python Packages, a new Manning book that just came out. In our conversation we dive into some of the specific challenges and opportunities that come with packaging… Continue reading Dane Hillard on Python packaging and effective developer tooling
5 ways I use GitHub Actions
By Bob Belderbos on 14 December 2022
I am increasingly using GitHub Actions these days. If you’re new to this you might want to check out our article or video. In this article I will show you 5 cool ways I use it day to day. Run tests and linters The first and most obvious reason is to automate tooling. Although you probably want to… Continue reading 5 ways I use GitHub Actions
Learning Rich by making a color searcher command line app
By Bob Belderbos on 6 July 2022
The other day I wanted to get serious with the awesome Rich library. As we always say: you have to build to really learn + need ideas? Scratch your own itch. If you’re struggling for ideas, see what takes you long and/or is cumbersome and see if it’s a good candidate to automate it with… Continue reading Learning Rich by making a color searcher command line app
Configure a Linux Development Environment on Windows with WSL and VS Code
By Heather Gray on 18 May 2022
About WSL It seems like everyone is using Linux or Mac for software development these days, but if you’re a windows user, you may have looked into what you needed to do to be able to use Linux on your PC and found that dual-booting or virtual machines sounded like too much trouble. But these… Continue reading Configure a Linux Development Environment on Windows with WSL and VS Code
A debugging tale
By Bob Belderbos on 6 March 2022
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… Continue reading A debugging tale
The Benefits of Using GitHub Actions
By Bob Belderbos on 13 August 2021
If you’re not using GitHub Actions you’re missing out! This tool is a great way to catch any errors in the central place of the GitHub repo. Catch errors early Of course this is always second best, developers should do their due diligence locally first before pushing code: Some of my favorites in that regard… Continue reading The Benefits of Using GitHub Actions
Fast Emoji Lookup from the Command Line
By Bob Belderbos on 7 May 2021
Today I wanted to share a little app I built the other day to search emojis from the command line.
Get to Python source code instantly using importlib and inspect
By Bob Belderbos on 14 December 2020
Have you ever wondered how to get Python source code quickly? It turns out the Standard Library can do this pretty effortlessly. Here is some code to read more Python source.