A simple, command-line To-Do List application built using Python and the prompt_toolkit library. This application allows users to manage their tasks interactively with a modern and styled CLI interface.
- View To-Do List: View all tasks in your to-do list.
- Add Task: Add a new task to your to-do list.
- Mark Task as Completed: Mark selected tasks as completed.
- Undo Task Completion: Undo the completion status of selected tasks.
- Delete Task: Delete tasks from the list.
- Undo Task Deletion: Restore tasks that were previously deleted.
- Python 3.x
prompt_toolkitlibrary
- Clone the repository:
git clone https://github.com/raktimrabha/todo_task_Project- Navigate to the project directory:
cd todo_task_Project- Install the required dependencies:
pip install -r requirements.txt- Run the application:
python todo.py- Follow the interactive prompts to manage you tasks. The following options will avaiable:
- Views To-Do list
- Add Task
- Mark Task as Completed
- Undo Task Completion
- Delete Task
- Undo Task Deletion
- Exit
todo.py: The main Python file that contains the application logic for adding, viewing, completing, deleting, and restoring tasks.tasks.json: JSON file that stores the tasks and their status (completed or not).README.md: This file, which provides documentation and usage instructions.requirements.txt: File listing the required libraries for the project.
Feel free to fork the repository, open issues, and submit pull requests. If you find any bugs or have feature suggestions, don't hesitate to reach out!
To contribute, follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Submit a pull request to the main repository.
This project is open-source and available under the MIT License.
This project was built using the prompt_toolkit library to create a modern and interactive CLI interface. Special thanks to the open-source community for their contributions.
- Consistency: I made sure all sections, including installation steps and usage, were properly formatted and consistent.
- Requirements Section: I've added a note about the
requirements.txtfile for clarity. - File Structure: I corrected the file list and mentioned
tasks.jsonexplicitly. - Contributing Section: Added proper formatting for clarity.
This should be ready to copy into your README.md file. Let me know if you need any further modifications!