A Python library for task prioritisation, reminder scheduling, and deadline conflict detection
Project description
student-task-deadline-planner-sm
A Python library for student task management applications. Provides task prioritisation, reminder scheduling, and deadline conflict detection to help users organise and manage their tasks efficiently.
Installation
pip install student-task-deadline-planner-sm
Functions
calculate_priority_score
Calculates a priority score for a task based on its importance and time remaining until the deadline.
rank_tasks
Ranks a list of tasks based on urgency and priority score, ensuring the most critical tasks are handled first.
build_reminder_schedule
Generates reminder schedules for tasks (e.g., 24 hours and 1 hour before deadline) to help users stay on track.
get_overload_summary
Identifies overloaded days or weeks where multiple tasks are due, helping users avoid deadline conflicts.
Usage
from deadline_planner import rank_tasks, build_reminder_schedule, get_overload_summary from datetime import datetime, timedelta
Sample task data
tasks = [ {"title": "Assignment", "priority": "High", "due": datetime.now() + timedelta(hours=5)}, {"title": "Project", "priority": "Medium", "due": datetime.now() + timedelta(days=2)} ]
Rank tasks
ranked = rank_tasks(tasks, datetime.now()) print(ranked)
Generate reminder schedule
schedule = build_reminder_schedule(tasks[0]) print(schedule)
Detect overload
summary = get_overload_summary(tasks) print(summary)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file student_task_deadline_planner_sm-1.0.3-py3-none-any.whl.
File metadata
- Download URL: student_task_deadline_planner_sm-1.0.3-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
186a1c9370e4ad248797b1a543faac2fb978ed58b3157b4b9143a09e903ed14b
|
|
| MD5 |
11ea8f8d4894528c3acf86a5ca810c67
|
|
| BLAKE2b-256 |
6bf6e458e8c5aef45205d1a9773b92e6c096e879a0f4c71c5f09a34190ea5e9c
|