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

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"

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.0.tar.gz (7.2 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.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lvl3dev_todoist_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 7.2 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.0.tar.gz
Algorithm Hash digest
SHA256 fa17b8642c17f9dcd016d7808a5e68c08808d57da1ac409a0f2e20ebb91d3752
MD5 4c550b7018f03da8816278ead08731ae
BLAKE2b-256 afb9db51cf4030b84ff58da85cca6d122d0c0962e2941211f3cd3317027b1382

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lvl3dev_todoist_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 875757605d03b0d179d849718c9f21d9a22bb2f826277d02f5d7d881b66ed9d5
MD5 a438b46e71019fdfbc2749dbb1516539
BLAKE2b-256 fe69a8d9150f459b2b7aa92514ca8e8c77fa1b43585633a888a2ac403fde18b8

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