Skip to main content

Utility library for StudySync grouping and scheduling

Project description

Study Sync Utils

A Python utility library for the StudySync application handling advanced grouping algorithms, schedule checking, and dynamic time-slot generation.

Features

  • Group Matching: Compare student availability against existing study groups and score compatibility dynamically based on shared subjects and free slots.
  • Schedule Management: Validate new study sessions against active overlaps and duration constraints (15 minutes to 8 hours).
  • Time Slot Generator: Generates clean, available slots based on dynamic daily windows while factoring out pre-booked overlapping sessions.

Installation

pip install study-sync-utils

Basic Usage

Group Matcher

from study_sync_utils import GroupMatcher

matcher = GroupMatcher(groups=[
    {"subjects": ["Math", "Physics"], "preferredTimes": ["10:00 AM"], "maxSize": 5, "members": []}
])

score = matcher.calculate_compatibility_score(
    user={"subjects": ["Math"], "availability": ["10:00 AM"]},
    group=matcher.groups[0]
)
print("Compatibility Score:", score)

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

study_sync_utils-0.1.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

study_sync_utils-0.1.1-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file study_sync_utils-0.1.1.tar.gz.

File metadata

  • Download URL: study_sync_utils-0.1.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for study_sync_utils-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2df3fd5d586c1e0aeda31272a560143cc5be6620e9ac8afd4f91e04c10ee58bf
MD5 977213b3233b12a0008afb799bbf9bb2
BLAKE2b-256 afe4137e8203a74ffe7f4f31ff2d7ad43691fb73afd3ca913bc515f5af6ad206

See more details on using hashes here.

File details

Details for the file study_sync_utils-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for study_sync_utils-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2fda68119c86f7249bd0d30ee4864aa6f3271e1acf64a11fac174945f1797e4
MD5 b537046f743ca7993b7bbccd8d2b9991
BLAKE2b-256 c1fba34e31968c8fa677a76d8d67edd9053ccface048572c0f1db1d101f7f6f9

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