You can see an example of this running at: https://stats.djangocontrolroom.com/
writeup: https://yassi.dev/projects/pypi-tracker/