Skip to main content

BracU CGPA Calculator Module

forthebadge made-with-python

BracU CGPA Module is a Python library for easier calculation of CGPA in Brac University.

Developed by Joyanta J. Mondal from BracU (C) 2021

Email: hello@joyantamondal.com

Functionality:

  • Adding Courses

  • Removing Courses

  • Checking Courses Attempted

  • Get CGPA

  • Number of Credits Attempted

  • Read from Device (PC/Google Colab)

  • Save to Device (PC/Google Colab)

  • Template of Excel File (Read from PC) Template of Excel File (Read from PC)

  • Flush Info

  • Check Completed Course.

  • Check Retake Course.

  • Credits Completed.

Installation

Use the package manager pip to install bracu_cgpa_calc.

pip install bracu_cgpa_calc

Usage

from bracu_cgpa_calc import *
#import bracu_cgpa_calc as bcc #this is another alternative import

add("CSE110", 4, 3) #adding courses
add("CSE111", 3.7, 3) #adding courses
add("CSE220", 3.3, 3) #adding courses
add("MAT215", 0, 3) #adding courses
#bcc.add("MAT215", 0, 3) #adding courses using alternative import
remove("CSE220") #removing courses
check_attempted_course() #returns list of courses attempted.
check_completed_course() #returns list of courses completed.
check_retake_course() #returns list of courses needs retake.
credits_attempted() #returns number of credits attempted.
credits_completed() #returns number of credits completed.
get_cgpa() #returns CGPA
readme() #prints out readme
docs() #prints out documentation
save_to_pc() #self-explanatory
read_from_pc("CGPA.xlsx") #reads "CGPA.xlsx" from device
flush() #flushes all the data of course list and CGPA and everything from the code

Note

  • I have tried to implement all the functionalities, it might have some bugs also. Please ignore that or please contact me email to notify me about the bug. I will try to give proper credits to that too. And you are welcome to give your valuable opinion and suggestions.

License

MIT

CHANGELOG:

1.0.6:

  • Fixed: Course Remove was not working.
  • Fixed: Get CGPA was not working.

1.0.5:

  • Fixed: Credits Attempted was not adding number of credits.
  • Fixed: Flush was not removing Credits Completed.

1.0.4:

  • Added: Check Completed Course.
  • Added: Check Retake Course.
  • Added: Credits Completed.

1.0.3:

  • Added: Flush.

1.0.2:

  • Added: Save to Device. (Tested on PC and Google Colab)
  • Added: Read from Device. (Tested on PC and Google Colab)

1.0.1:

  • Fixed: Removing Courses: Wrong course was getting removed.
  • Fixed: Checking Courses Attempted: It was showing random course instead of a list.

1.0.0:

  • Added: Adding Courses
  • Added: Removing Courses
  • Added: Checking Courses Attempted
  • Added: Get CGPA
  • Added: Number of Credits Attempted

Metadata

Release files for bracu-cgpa-calc 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bracu-cgpa-calc 1.0.6
File Size Uploaded Provenance
bracu_cgpa_calc-1.0.6.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bracu-cgpa-calc 1.0.6
File Interpreter ABI Platform
bracu_cgpa_calc-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / bracu_cgpa_calc-1.0.6.tar.gz

Download URL bracu_cgpa_calc-1.0.6.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
91ad6ec2fa01550897e9035667c37a09d51f5ef59c857cba72ba2496134d314b
BLAKE2b-256 checksum
How to use checksums
42f8e9e9e897dd977e063272b9a65b24f5bd9a7fa0f9efe63c006cec8990942b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / bracu_cgpa_calc-1.0.6-py3-none-any.whl

Download URL bracu_cgpa_calc-1.0.6-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be25a24679e3eada42393d5674d460a6b3665329152b50e78d7c7e3fdf30d847
BLAKE2b-256 checksum
How to use checksums
432066257d036d5de2b3b94ded96f9145c9cf9688cd083e1998369d3af401e33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for bracu-cgpa-calc 1.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page