Academy of Computation - A command-line task management application for tracking investigation tasks with priorities and locations.
This task manager provides an interactive terminal interface for managing investigation tasks. Each task includes a description, completion status, priority level, and location. Tasks are automatically saved to a CSV file for persistence between sessions.
No installation required. Just ensure you have Python 3.x installed.
Run the application:
python task_manager.pyEach task contains the following information:
- Label: Task description (required)
- Priority:
high,medium, orlow(defaults tomedium) - Location: Where the task should be performed (defaults to
N/Aif not specified) - Completion Status: Whether the task is complete or not
When you press a to add a new task, you'll be prompted for:
- Task description: The main task text (required - cannot be empty)
- Priority: Enter
high,medium, orlow(press Enter to use defaultmedium) - Location: Enter the location name (press Enter to use default
N/A)
The new task will be added to the list and automatically saved.
Tasks are displayed with visual indicators to show their status:
(*)- Selected incomplete task[*]- Selected completed task( )- Unselected incomplete task[x]- Unselected completed task
Each task also displays its priority and location below the description.
task_manager.py- Main application fileutils.py- Utility functions for file I/O, keyboard input, and screen managementtasks.csv- CSV file where tasks are stored (created automatically)
Tasks are automatically saved to tasks.csv in the following situations:
- When you toggle a task's completion status
- When you add a new task
- When you delete a task
- When you quit the application (press
q)
The CSV file is created automatically on first save if it doesn't exist.
- Python 3.x
- Unix-like system (macOS, Linux) - uses
termiosfor keyboard input handling
- The application uses terminal raw mode for keyboard input, which may not work in all terminal emulators
- Tasks persist between sessions via the CSV file
- The selected task index wraps around when navigating (pressing up at the top goes to the bottom, and vice versa)