Measuring the carbon footprint of your Python applications

With environmental targets an ever-growing concern, building applications that are as efficient as possible is more important than ever. Data is the key to understanding the environmental impact your applications have. With this in mind, how do you begin to measure the carbon footprint of your software?