Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file student_task_deadline_planner_sm-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for student_task_deadline_planner_sm-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 186a1c9370e4ad248797b1a543faac2fb978ed58b3157b4b9143a09e903ed14b
MD5 11ea8f8d4894528c3acf86a5ca810c67
BLAKE2b-256 6bf6e458e8c5aef45205d1a9773b92e6c096e879a0f4c71c5f09a34190ea5e9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page