Skip to main content

Authentication, validation, and task management library for cloud-based student collaboration platforms

Project description

StudyHub NCI Library

Authentication, validation, scheduling, and formatting library for cloud-based student collaboration platforms.

Installation

pip install studyhub-nci

Modules

  • AuthManager — Password hashing (PBKDF2-SHA256), JWT-like token generation, password strength validation
  • InputValidator — User, project, task, and message validation with HTML sanitization
  • DeadlineChecker — Deadline monitoring, overdue detection, task prioritization, progress tracking
  • TaskFormatter — Task summaries, project reports, deadline alerts, CSV export, activity feeds

Quick Start

from studyhub_lib import AuthManager, InputValidator, DeadlineChecker, TaskFormatter

# Hash a password
hashed, salt = AuthManager.hash_password("SecurePass1")

# Validate user input
valid, errors = InputValidator.validate_user({
    "username": "alice",
    "email": "alice@example.com",
    "password": "SecurePass1"
})

# Check deadlines
approaching = DeadlineChecker.check_deadlines(tasks, hours_threshold=24)

# Format output
summary = TaskFormatter.format_task_summary(task)

Requirements

  • Python 3.8+
  • No external dependencies (stdlib only)

Author

Anjaneya Reddy

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

studyhub_collab_nci-1.0.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

studyhub_collab_nci-1.0.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for studyhub_collab_nci-1.0.0.tar.gz
Algorithm Hash digest
SHA256 aa8d983921e941cefb53a83db4f03a22a316bd673ee849c4bb091734f8c8d13b
MD5 594419c17e7dd090c7bdf9c1040c6ed7
BLAKE2b-256 ba7afa6dd198826266b76188722e34ce46ff6b2775e304fd7ab4fe8ec112040d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for studyhub_collab_nci-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d301b16f2f3bdbd13de58c3b7ff3219e02993d1b56248868655d11febf2e37d
MD5 65ebad0a7d59f2fb7da70a572ebaf090
BLAKE2b-256 dc2cba46e67a93229bac93f913ef4598124259ab84e05ea0363805bdb146ce07

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