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
- Host: GitHub
- URL: https://github.com/albertodonato/launchpad-karma
- Owner: albertodonato
- License: gpl-3.0
- Archived: true
- Created: 2018-03-22T10:08:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-04T22:41:26.000Z (almost 7 years ago)
- Last Synced: 2025-03-23T13:01:44.700Z (over 1 year ago)
- Topics: graph, launchpad
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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
```