Elevate Your Python: Harnessing the Power of Abstract Base Classes (ABCs)

Introduction One cool object-oriented programming (OOP) technique / pattern is enforcing consistent interfaces. In Python you can use Abstract Base Classes (ABCs) for that. 🐍 Using ABCs ensures that all subclasses implement the required methods. This can make it easier to maintain and extend the existing code base. Update Feb 2024: you can also leverage… Continue reading Elevate Your Python: Harnessing the Power of Abstract Base Classes (ABCs)

Teaching packaging by building a Python package

Listen here Or watch here (recommended because there will be code!) Welcome back to our podcast. In this week’s episode we look at Python packaging. I was teaching this on our weekly PDM Code Clinic call and we ended up building quite a useful Pybites Open Source tool. Introducing pybites-search, a command line tool to… Continue reading Teaching packaging by building a Python package