Python Implementation of Google PageSpeed Insights
Measure your site speed, performance, accessibility and SEO in bulk from the command line with Python and the PageSpeed Insights API.