Flask-DashboardStats

Useful statistics for the Flask-MonitoringDashboard project.

Saves the number of Github stars and Pypi downloads into stats.csv. The file has the format (stars, downloads, time).

This repository contains a make file with the following commands:

  • Fetching stats: make stats
  • Viewing a graph: make graph
  • Auto committing: make commit

The make stats and make commit can be run using a Linux cronjob as described here. For instance to run it every hour, add the following cronjob:

@hourly cd <REPO FOLDER> && make stats >/dev/null 2>&1 && make commit >/dev/null 2>&1