You may want to schedule your (work) day. Therefore, you need to know how many tasks you can get done on a particular day.
Todoist has no time estimation built in. Luckily, there are labels. And 4 different time slots are enough for most use cases: 5, 15, 30, 45min (if any task takes more than 45min, you should split it up anyway).
- Just add
@m5,@m15,@m30or@m45to any given task
- (Bash)
EXPORT TODOIST_KEY = 'your_key_here'(or add to.zshrc,.envor the like) git clone git@github.com:minthemiddle/todoist-scheduler.gitcd todoist-scheduler- (Create new virtualenv)
python3 -m venv myvenv - (Activate on Linux/Mac)
source myvenv/bin/activate - (Install dependencies)
pip3 install -r requirements.txt python3 todoist.py
It will ask for a project name (e.g. work) and will calculate all estimations within this project and its subprojects.
This is still a very basic script to solve my problem. I don't like that I have to type in the project name (correctly) and that the label names m… are hard-coded.
Totally open to pull requests to improve the code quality and extend the functionality!