Skip to main content

Study Group Scheduling Library for StudySync

Project description

studygroup-scheduler-nci

Study Group Scheduling Library for StudySync - a student study group finder and scheduler.

Author

Lakshmi Chaitanya (X25171216) - National College of Ireland

Installation

pip install studygroup-scheduler-nci

Modules

SessionScheduler

Handles study session scheduling, time conflict detection, and weekly planning.

from leave_manager import SessionScheduler

conflict = SessionScheduler.check_time_conflict(new_session, existing_sessions)
schedule = SessionScheduler.get_weekly_schedule(sessions, "2026-04-06")
slots = SessionScheduler.suggest_time_slots(existing, "2026-04-10")
hours = SessionScheduler.get_total_study_hours(sessions)

GroupMatcher

Matches students to relevant study groups based on subject overlap and preferences.

from leave_manager import GroupMatcher

score = GroupMatcher.calculate_similarity(user_subjects, "mathematics")
recs = GroupMatcher.recommend_groups(user_subjects, all_groups)
popularity = GroupMatcher.get_subject_popularity(all_groups)

InputValidator

Validates study groups, sessions, and user registration data.

from leave_manager import InputValidator

valid, errors = InputValidator.validate_group(group_data)
valid, errors = InputValidator.validate_session(session_data)
clean = InputValidator.sanitize_input(user_input)

ScheduleFormatter

Formats schedules, session summaries, group reports, and CSV export.

from leave_manager import ScheduleFormatter

summary = ScheduleFormatter.format_session_summary(session)
report = ScheduleFormatter.format_weekly_schedule(sessions, "2026-04-06")
csv_data = ScheduleFormatter.to_csv(sessions)

Testing

cd library
python -m pytest tests/ -v

License

MIT

Project details


Download files

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

Source Distribution

studysync_scheduler_nci-1.0.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

studysync_scheduler_nci-1.0.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file studysync_scheduler_nci-1.0.0.tar.gz.

File metadata

  • Download URL: studysync_scheduler_nci-1.0.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for studysync_scheduler_nci-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ae6e10301cdd39a6ccb8be38170c8add9bbd1b34baaedf97b01c646437ec92e7
MD5 529c43628148d2e20497d0e88c61e854
BLAKE2b-256 72e980d546e2f49be3fedf62fb44a767f927b6e1014e5596221e877cc1196f9b

See more details on using hashes here.

File details

Details for the file studysync_scheduler_nci-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for studysync_scheduler_nci-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a61404813b9ea88eb30fd7453b68409dc98dec21dae4ef77664f89d2aa282fd7
MD5 af4de068be3cca3e244c18365a7e3156
BLAKE2b-256 5cbef55560a8305930511fe1168eb132a16022cacf56be154aabb08c38747f33

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