Skip to content

clivemeister/PyBeeminder

Repository files navigation

Clive's Beeminder utility functions

A bunch of tools that work with Beeminder to do various interesting things.

Setup

Assuming you've got Python installed, you'd start by cloning the repo to your machine. Then you need to rename the "beeminder sample.ini" to "beeminder.ini" and add your Beeminder authorisation token in the new beeminder.ini file.

Extra to use the Todoist integration

You'll need to add your Todoist authorisation token to the beeminder.ini file as well, if you want to use that integration. You'll also need to install the todoist integration using pip install todoist_api_python

Use

You can check out the help for a function by adding the -h or --help flag. Plus of course they're python, so you'll need to pass the function to the python interpreter, something like this:

python getTodoistOverdue.py --help

That will show you (in this case) that you can use for example a -t flag for a test run (which doesn't update the goal), and pass the goal name to be updated with the -g flag:

python getTodoistOverdue.py -t -g myOverdueTasksGoal

That'll show you how many overdue tasks you currently have (use the -v flag for a verbose run, which actually prints them out), but won't update the goal. Run without the -t flag to actually update the Beeminder goal.

Available Utilities

listRedGoals.py - Lists all your goals with color-coded urgency (red/amber/blue/green)

addPointForRed.py - Adds a datapoint to a goal based on how many red goals you have (meta-tracking)

getTodoistOverdue.py - Counts overdue Todoist tasks and updates a Beeminder goal

getRoad.py - Exports a goal's road (red line) to CSV format

setRoad.py - Imports a CSV file and updates a goal's road

createStepGoal.py - Creates a new "do more" goal with a stepped road (flat for N days, jump by 1, repeat M times)

python createStepGoal.py -g mygoal -d 7 -s 10 -u tasks

About

Simple python scripts to do useful things in beeminder via the API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages