A task management system created in python using CSV type data files intended to demonstrate some of my knowledge and skill in python.
username: admin password: adm1n
To run this file in Docker play ground open an instance and type: docker run -i admbjmn/task_manager The files is easier to interpret in VS code and will provide you with more functionality - ie: viewing generated files.
This Task Management system is a simple stand alone program that allows a user to read, update and delete entries in a file containing details about tasks. There is also some basic functionality to generate reports and present data to the user in the console.
Functions
- Reg User
- add Task
- View All
- View My
- Task Alterations
- Task Overview
- Statistics
The Program starts with a Login function that refereences users and passwords from a separate textfile. The program can be accessed by default with username: admin password: adm1n
reg user allows users to add new users to the program so that they may have tasks associated to them. The logged in user is poromted to enter a new username and password for the new user. The password must be confirmed before the user can be succesfully added. Once a Valid username and password has been entered the information is then added to the user.txt.
Add task allows the user to add tasks to the tasks.txt. The user is asked to input the relevant information for the new task the tasks is then added to the task.txt file.
View all reads all tasks from the tasks.txt file and presents the information to the user in a useful manner. The user is then asked if any alterations are to be made to any tasks. If so the task alteration function is called.
View my gathers information form the tasks file and any tasks associtated to the currently logged in user are presented in the console.
task alterations asks the user to indicate which change they would like to make to mark as complete to reassign the task to change the due date based on the response the program then gathers the needed information and updates the tasks.txt file.
Task overview creates two reports for use in the statistics function the first report - task_overview.txt - contains macro information about the tasks on file. information includes: total tasks count incomplete task count percentage incomplete overdue tasks percentage overdue
The user report creates a files with task information on a user basis and saves the file as user_overiview.txt
statistics allows the user to get the information for the user_overview and the task_overview files and presents them in the console in a useful way. If the documents required arn't in the file then the task overview function is called to generate the files before the function continues.
Once logged in the user is presented with a main menu as follows:
By selecting one on the commands as instructed the user is then prompted with new istructions based on the selection. EG:
By continuing to follow the prompts on screen tasks can be taken care of and the CSV file will be updated. Any functions that do not need user input will be displayed on screen and the menu will be re shown for any further requests. EG:
Once the user has finished the program can be closed from the main menu by typing exit.
_This program was made by adm.bjmn.