Welcome to the Task Management System! This Python project allows users to register, add tasks, view tasks, generate reports, and display statistics. It provides an organized way to manage tasks and user information.
-
Clone the repository:
git clone https://github.com/your-username/task-management-system.git
-
Install required packages:
pip install -r requirements.txt
-
Ensure
tasks.txt
anduser.txt
files are in the same folder as the Python scripts.
- To register as a new user, run the script and choose option 'R'.
- Enter a unique username and password when prompted.
- Select option 'A' to add a new task.
- Enter details such as task title, description, due date, and the person assigned to the task.
- The task will be added to the task list.
- Choose 'VA' to view all tasks.
- See a formatted display of all tasks including title, assigned user, due date, and description.
- Select 'VM' to view tasks assigned to you.
- Edit tasks or mark them as complete.
- Admin users (username: admin, password: password) can generate reports using 'GR'.
- Reports include task overviews and user statistics.
- Admins can view task and user overview reports with option 'DS'.
- To exit the program, choose option 'E'.
-
Admin access is granted using the following credentials:
- Username: admin
- Password: password
-
Make sure
tasks.txt
anduser.txt
files are present in the project folder. -
Use
DATETIME_STRING_FORMAT = "%Y-%m-%d"
for date formatting.
Here are a few examples to get you started:
$ python main.py
...
R - Register user
A - Add task
...
Enter choice: R
New Username: new_user
New Password: mypassword
Confirm Password: mypassword
New user added
$ python main.py
...
R - Register user
A - Add task
...
Enter choice: A
Name of person assigned to task: new_user
Title of Task: Complete Project Proposal
Description of Task: Draft a detailed project proposal document.
Due date of task (YYYY-MM-DD): 2024-04-30
Task successfully added.
$ python main.py
...
VA - View all tasks
VM - View my tasks
...
Enter choice: VA
Task: Complete Project Proposal
Assigned to: new_user
Date Assigned: 2024-03-03
Due Date: 2024-04-30
Task Description: Draft a detailed project proposal document.
-------------------------------------------------------------------------------
...
- Python 3.x
Contributions are welcome! If you have any suggestions or find bugs, please open an issue or create a pull request.