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

studygroup_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.

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for studygroup_scheduler_nci-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d1fc25451df94929c73fac765ddd4d3dd2b436dd28b36c77c32227f11c129116
MD5 a6f37c8e8e13d4a5cd96ae0a1d2569ce
BLAKE2b-256 8aee5856c8f75c2aa344b0b0c606c7287508ea3e8c05dfe1cb82513b5dde91f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for studygroup_scheduler_nci-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 387a8ce001a772c0583cf61aae317909820b4199113a4cfcc3331094fc0f5219
MD5 c5478f4a6383e6fabf1316c7600b1ea0
BLAKE2b-256 8a92f36a8be8b0c7a3fc680f894af07dfe29ff6cf71e86ed2f9cd3ee9da93495

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