Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lvl3dev_todoist_cli-0.1.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lvl3dev_todoist_cli-0.1.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file lvl3dev_todoist_cli-0.1.1.tar.gz.

File metadata

  • Download URL: lvl3dev_todoist_cli-0.1.1.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

Hashes for lvl3dev_todoist_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4837a7cec3000ccf24c026d745b64c4ad7fa2b7b81f1f9c17ec2259316a270b9
MD5 60c8fb866f28b61ed076c8d4e772a983
BLAKE2b-256 71e9e933237f8a583ae1c8a30c6bfe9fcc1f905bfe73a2f54d3c43622677fd1f

See more details on using hashes here.

File details

Details for the file lvl3dev_todoist_cli-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lvl3dev_todoist_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 466011ceb85b22a821ae48533f50c32dca95e7ce5b97f52fa7ad78e3e3e9e01b
MD5 7e059c7500133897f1732714eaddf854
BLAKE2b-256 29d8761b93a7aa9f90135ed0df92867e7dd626d1986ed26da47abc2b326c83c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page