A simple Python toolkit for university students: GPA tools and study planning helpers.
Project description
studentpybox
A simple Python toolkit for university students, with two modules: GPA tools and study planning helpers.
Installation
pip install studentpybox
Modules & Functions
studentpybox.gpa
| Function | Description |
|---|---|
calculate_gpa(grades, credits) |
Credit-weighted GPA from a list of grade points and credit hours. |
percentage_to_grade(percentage) |
Convert a percentage score into a letter grade. |
cgpa_predictor(current_cgpa, completed_credits, target_cgpa, upcoming_credits) |
GPA needed in upcoming courses to hit a target CGPA. |
attendance_needed(attended, total, target_percentage=75.0) |
Classes still needed (or classes that can be skipped) to meet an attendance target. |
studentpybox.study
| Function | Description |
|---|---|
pomodoro_timer_text(work_minutes=25, break_minutes=5, sessions=4) |
Printable Pomodoro study schedule. |
random_motivation() |
A random short motivational line. |
study_hours_left(total_hours_needed, hours_completed) |
Remaining study hours and progress percentage. |
exam_countdown(exam_date, date_format="%Y-%m-%d") |
Days left until an exam date. |
Usage
from studentpybox import calculate_gpa, percentage_to_grade, random_motivation, exam_countdown
print(calculate_gpa([4.0, 3.3, 3.7], [3, 4, 3])) # 3.63
print(percentage_to_grade(82)) # B+
print(random_motivation()) # a random study quote
print(exam_countdown("2026-07-15")) # {'days_left': ..., 'status': 'upcoming'}
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
studentpybox-0.1.0.tar.gz
(6.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file studentpybox-0.1.0.tar.gz.
File metadata
- Download URL: studentpybox-0.1.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6235ed3c0044e0b9bf4fa6af6e2c352fb790153e80a7d1df13fd661e25e98b1f
|
|
| MD5 |
70b6817c8b700a1331382edfcab554f9
|
|
| BLAKE2b-256 |
dfbc5943513f320e002a339bf84aa42d7f73727226a5309ad579b23b009b51bf
|
File details
Details for the file studentpybox-0.1.0-py3-none-any.whl.
File metadata
- Download URL: studentpybox-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc13b79c56639408d0f9839e02a2c3360bc11ad450eb01ef733338ad014575c1
|
|
| MD5 |
0b1e759467c1eb73ef4f212db36e6c09
|
|
| BLAKE2b-256 |
eb291420b89c4e4f6eebda4952a7677f1fb5ef07c2dfe39ccd0cedc4b31cc4b0
|