Simple command-line interface for the Todoist API Python SDK.
Project description
lvl3dev-todoist-cli
Simple command-line interface for Todoist using the official todoist-api-python SDK.
Development setup (uv)
uv sync
Run commands through uv:
uv run todoist --help
Build and install (uv + pipx)
Build a wheel with uv:
uv build
Install globally with pipx from the built wheel:
pipx install dist/lvl3dev_todoist_cli-*.whl
For local iteration, reinstall after changes with:
pipx install --force dist/lvl3dev_todoist_cli-*.whl
Install from PyPI:
pipx install lvl3dev-todoist-cli
Authentication
Set your API token:
export TODOIST_API_TOKEN="YOUR_API_TOKEN"
You can also pass --token per command.
Usage
todoist --help
Tasks
todoist tasks list
todoist tasks add "Pay rent" --due-string "tomorrow 9am" --priority 1
todoist tasks get <task_id>
todoist tasks update <task_id> --content "Pay rent and utilities"
todoist tasks complete <task_id>
todoist tasks delete <task_id>
Priority values are user-facing Todoist priorities: p1 highest, p4 lowest.
Projects
todoist projects list
todoist projects add "Operations"
todoist projects update <project_id> "Ops"
todoist projects view-style <project_id> board
Sections
todoist sections list --project-id <project_id>
todoist sections add --project-id <project_id> "In Progress"
todoist sections update <section_id> "Doing"
todoist sections delete <section_id>
Boards
todoist boards show --project-id <project_id>
todoist boards move <task_id> --section-id <section_id>
Calendar
todoist calendar today
todoist calendar week
todoist calendar range --from 2026-02-20 --to 2026-02-27
todoist calendar reschedule <task_id> --due-string "tomorrow 9am"
Comments
todoist comments list --task-id <task_id>
todoist comments add --task-id <task_id> "Started work"
Labels
todoist labels list
JSON Output
Use --json to get structured output:
todoist --json tasks list
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lvl3dev_todoist_cli-1.0.0.tar.gz.
File metadata
- Download URL: lvl3dev_todoist_cli-1.0.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb5d27ea4fc19eb1e8adce710ad2ea58e9ff18ef41e39160f6797750d8011437
|
|
| MD5 |
4031eb7438e63ca7f3dbfe23a901749e
|
|
| BLAKE2b-256 |
f490f1b73932cc94651aa69ee8bf3523887de1f8e8fb5008381fed3c094f30b2
|
File details
Details for the file lvl3dev_todoist_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: lvl3dev_todoist_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ded318326301eae21db12d5919683cad6148f1391fd23dc072df0d3e03ebc580
|
|
| MD5 |
bf92bcc62505c8d9cde41032450049f8
|
|
| BLAKE2b-256 |
7660fbd7b80925e6b2a292942c4141aca9fcb82b8555fe119072e4a5e6338115
|