Category Archives: python

Python Plugin Architecture

A plugin architecture is a way of achieving flexiblity, encapsulation, extensibility as well as other principles of good software design. This post shows how you can achieve a python plugin architecture using the importlib library. There are some similarities with other concepts such as pipes and filters. ‘Project’ Plugins vs ‘External’ Plugins In this post… Read More »

Python Simple Logging

There are lots of options for logging in python. In this post I wanted to write down one way to do python simple logging. This method should be fairly flexible across different Read more about some more simple logging in python Some General Principles These aren’t always going to be right, but you’ll see these… Read More »

Python Lorentz Cipher

The Lorentz cipher was a code used by Germany in the second world war. In this post I wanted to explore the general ideas behind it and see if I could implement a simple Python Lorentz Cipher. I’m not trying to create an exact simulation of the Lorentz cipher here. For a python lorentz cipher… Read More »

Python Fake Data With Faker

Fake data can be invaluable for testing or demonstrating behaviour without using live, production data. This lets you protect your production data or help you get started when you don’t yet have a production system set up. This post gives an overview of the Python fake data package faker, which is invaluable for generating this… Read More »