A Python command-line To-Do List Manager with deadline validation.
Allows adding, viewing, editing, deleting, and completing tasks. Tasks are saved in todolist/tasks.txt in the project folder.
ToDoListApp/
│── todolist/ # Python package
│ └── main.py # main CLI script
│ └── tasks.txt # stores tasks (auto-created)
│── setup.py # optional installation script
│── README.md
│── .gitignore
- Python 3.7 or higher
- pip
git clone <repo-url>
cd ToDoListApppip install coloramapython3 todolist/main.pyTasks will be saved in
todolist/tasks.txtin the project folder.
If setup.py is provided:
pip install -e .- Run the app from anywhere using:
todoTasks will be saved in the
todolistfolder where the command is run.
- Add new tasks with a description and deadline (YYYY-MM-DD)
- Validates date format and prevents past dates
- View tasks (Pending and Completed) sorted by deadline
- Edit tasks
- Delete tasks
- Mark tasks as completed
- Tasks are persisted in
todolist/tasks.txt
todolist/tasks.txtis auto-created if it doesn’t exist- CLI colors are powered by
colorama - Use a virtual environment to isolate dependencies
- Sorting ensures earliest deadlines appear first
To remove Python build artifacts:
rm -rf __pycache__ *.pyc build dist *.specMIT License