Skip to main content

Simple file-backed to-do CLI

Project description

To-Do List CLI (Python)

Minimal, file-backed to-do list CLI.

Install locally (editable) to get a todo command:

python -m pip install -e .

Then run:

todo add "Write report"
todo list
todo complete 0
todo remove 0
todo clear

Add with a due date:

todo add "Finish budget" --due 2026-02-15
todo add "Call client" --due tomorrow

If todo is not found, ensure your Python's Scripts directory is on your PATH (Windows) or use the same Python executable: python -m todo.

Run tests:

python -m pip install -r requirements.txt
python -m pytest -q

Publishing to PyPI

Quick outline to publish a release (recommended: use GitHub Actions):

  1. Create an account on https://pypi.org/ and generate an API token at https://pypi.org/manage/account/
  2. In your GitHub repo, add the token as a repository secret named PYPI_API_TOKEN.
  3. Create a git tag for the release (match pattern vX.Y.Z) and push it:
git tag v0.1.0
git push origin v0.1.0

The included GitHub Actions workflow .github/workflows/publish.yml will build and publish the package automatically when a tag is pushed or a release is created.

Local publish (if you prefer to upload from your machine):

Windows PowerShell:

setx PYPI_API_TOKEN "<token>"
.\.venv\Scripts\Activate.ps1
./scripts/publish_local.ps1

Linux / macOS:

export PYPI_API_TOKEN="<token>"
./scripts/publish_local.sh

Notes:

  • The GitHub Action expects a secret named PYPI_API_TOKEN containing a PyPI API token.
  • Publishing requires that the name and version in pyproject.toml are ready for release and not already on PyPI.
  • I cannot publish to PyPI for you without your PyPI token and pushing tags to a remote repo; I added automation so the upload is a single secure step once you provide the token in GitHub secrets.

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

todo_cli_scolhoun-0.1.6.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

todo_cli_scolhoun-0.1.6-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file todo_cli_scolhoun-0.1.6.tar.gz.

File metadata

  • Download URL: todo_cli_scolhoun-0.1.6.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for todo_cli_scolhoun-0.1.6.tar.gz
Algorithm Hash digest
SHA256 bad83203df370412fe81e0fd85159dede6a5ed6869ac7f855513869ad9e2de2c
MD5 4b4d105b8394250734e0b2975798b90b
BLAKE2b-256 f89025a65faf9d78200620eb31ca3958d6bc705b2a5358f654c7ec82d94421d8

See more details on using hashes here.

File details

Details for the file todo_cli_scolhoun-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for todo_cli_scolhoun-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 80ec7f45ce5e4b41b441109f86050fca54de38d0dedd5a5d26f0018883f6a97e
MD5 edc8b2a30cff40798bc760ff0b87d9ec
BLAKE2b-256 67bcddeb6ec6a95eb374e53a98cbb42186aeb983f9db01b784afd0b07a06f6f6

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