Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

A simple script to track your Launchpad karma over time

License

Notifications You must be signed in to change notification settings

albertodonato/launchpad-karma

Repository files navigation

launchpad-karma - track Launchpad Karma

launchpad-karma is a a simple script to track and graph Launchpad karma over time.

It's meant to be run on a daily basis (usually by cron). At every run, it collects the karma for the current day and stores it in a SQLite database. Then it regenerates an HTML page with graphs (along with related JavaScript and css files) in the specified target directory.

Installing

  • get the source tree:
$ git clone https://github.com/albertodonato/launchpad-karma
  • install the following dependencies:

    • Jinja2
    • launchpadlib

    This can be done via packages from your distribution or with pip:

$ cd launchpad-karma
$ pip install -R requirements.txt

Setting it up

  • copy launchpad-karma.ini.template to launchpad-karma.ini and edit it setting the user key to your launchpad username. The target directory for graphs and and the (maximum) number of months to plot can also be changed.

  • edit your crontab with crontab -e and adding something like this (which runs the script at 23:30 every day):

# m h  dom mon dow   command
30 23 * * * /home/ack/launchpad-karma/launchpad-karma

About

A simple script to track your Launchpad karma over time

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published