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.99.tar.gz (4.4 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.99-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: todo_cli_scolhoun-0.1.99.tar.gz
  • Upload date:
  • Size: 4.4 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.99.tar.gz
Algorithm Hash digest
SHA256 589d5b915ec6944649a06492d8008d68538e35fb4215d1b57fa44f3dc1edac03
MD5 180ed2281f363599bf735cff35649893
BLAKE2b-256 4b47c22fc41c286021e17ce571bbc0b3632289656605579e7c32f567f50eb15e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for todo_cli_scolhoun-0.1.99-py3-none-any.whl
Algorithm Hash digest
SHA256 962800305353139aa9dcdde8f86ff392de36e63f41f7be0621e646415542e867
MD5 6eff4111be3cc4b13971085ad968a42f
BLAKE2b-256 d103859d545477e3ce3236a5c21439d2fd8f9c80873b126e9b27a5187d115fd8

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