An open API service indexing awesome lists of open source software.

https://github.com/albertodonato/launchpad-karma

A simple script to track your Launchpad karma over time
https://github.com/albertodonato/launchpad-karma

graph launchpad

Last synced: about 1 year ago
JSON representation

A simple script to track your Launchpad karma over time

Awesome Lists containing this project

README

          

# launchpad-karma - track Launchpad Karma

`launchpad-karma` is a a simple script to track and graph [Launchpad
karma](https://help.launchpad.net/YourAccount/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:

```shell
$ 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`:

```shell
$ 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
```