Skip to main content

Grade, CGPA and Percentage Calculator

Project description

lokeshgrade

lokeshgrade is a simple Python package that helps students calculate grades, convert CGPA to percentage, and convert percentage to CGPA.

Features

  • Calculate student grades based on marks
  • Convert CGPA to Percentage
  • Convert Percentage to CGPA

Installation

pip install lokeshgrade

Usage

from lokeshgrade.grader import getgrade
from lokeshgrade.percentage import percentage
from lokeshgrade.cgpa import cgpa

print(getgrade(85))
print(percentage(8.5))
print(cgpa(80))

Output

B_Grade
80.75
8.421052631578947

About

This is my first Python package published on PyPI. It was created to learn Python packaging, versioning, and package distribution while providing useful utilities for students.

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

lokeshgrade-1.3.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

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

lokeshgrade-1.3-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file lokeshgrade-1.3.tar.gz.

File metadata

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

File hashes

Hashes for lokeshgrade-1.3.tar.gz
Algorithm Hash digest
SHA256 35c593f2b2980f5ed306065c2ffeaead89868c823382b085b1302b18a04cb9d7
MD5 eaff1723da0e380a7a26f83ccce4bc13
BLAKE2b-256 e0cb251c179d6354e2f1c25f3cebd1e545126f9db4de6daace948aeeaa865f31

See more details on using hashes here.

File details

Details for the file lokeshgrade-1.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for lokeshgrade-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8b7a19a26caa2e38a2f7f4088f805289714240664f969bf7938779e4418ceb95
MD5 c24287d2f794a70ae954ff4138b9a7b6
BLAKE2b-256 0fd1ec74a1cf4625ff534ea5fe4f0477a6f6a109925f85e76432f9221c2cfb08

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