© Matthew Wilkes 2020
M. WilkesAdvanced Python Developmenthttps://doi.org/10.1007/978-1-4842-5793-7_6

6. Aggregation process

Matthew Wilkes1 
Leeds, West Yorkshire, UK

Now that we have a robust codebase for gathering data from a computer and reporting it over a HTTP interface, it’s time to start logging and analyzing this data. We need to create a central aggregation process that connects to each of the sensors and pulls the data down. Such a process would allow us to observe correlations between different sensors at the same time as well as trends over time.

To begin with, we’ll need to create a new Python package. It doesn’t make sense for us to distribute all the code for the aggregation process along with the data collection code; we expect ...

Get Advanced Python Development: Using Powerful Language Features in Real-World Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.