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

studyhub_nci-1.0.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: studyhub_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 studyhub_nci-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c1977db19ce0af73c8ee76f1cdeccc49b358b24f5aee8a9354ef70dac7dea2f3
MD5 93e59bb28ba3dbce9f49891365956793
BLAKE2b-256 6aa710abd5996eaaf247e9a4364dfd8aad8ff4e27a1def1b4c1f7f6dfa1a2a89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: studyhub_nci-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for studyhub_nci-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5857a164e2439fbf0242d03504ec48ca29b46c3556541dd467ad2d9ac11780ac
MD5 4eff09e5c3227de6faffe8a49c3d8d35
BLAKE2b-256 8f1afcc6e601d559ccec50ab9e83d4eb8c5146cb043bc786464702f9c6b0a2c6

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