Cgpa Calculator
A simple web application to calculate SGPA and CGPA for students based on their subjects, marks, and credit hours. Website is Live at: https://rasikhali.marveloussoft.tech Features - Calculate SGPA
About the Project
A simple web application to calculate SGPA and CGPA for students based on their subjects, marks, and credit hours.
Website is Live at: https://rasikhali.marveloussoft.tech
Features
- Calculate SGPA and CGPA based on the subjects, marks, and credit hours.
- Dynamically add or remove subjects.
- Display results in a tabular format with individual grades for each subject.
- Provide detailed SGPA and CGPA results.
Installation
Prerequisites
- Python 3.x
Steps
-
Clone the repository:
git clone https://github.com/RasikhAli/CGPA-Calculator.git cd CGPA-Calculator -
Create a virtual environment and activate it (Optional):
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate` -
Install the required packages:
pip install -r requirements.txt
Usage
-
Run the Flask application:
python app.py -
Open your web browser and navigate to
http://127.0.0.1:5000/.
File Structure
CGPA-Calculator/
â
âââ app.py # Main Flask application
âââ calculations.py # GPA calculation logic
âââ templates/
â âââ index.html # HTML template for the application
âââ requirements.txt # List of dependencies
âââ README.md # Project documentation
Project Overview
app.py
The main Flask application that handles routing and form submissions. It includes:
- An index route to render the homepage.
- A calculate route to process the form data and return the GPA calculations.
calculations.py
Contains the logic for calculating SGPA and CGPA based on the input subjects, marks, and credit hours.
templates/index.html
The HTML template that provides the user interface for the application, allowing users to input their subjects, marks, and credit hours.
Contributions
Contributions are welcome! Please open an issue or submit a pull request for any improvements or new features.
Project Timeline
Technologies
External Links
Related Projects
Projects built with similar technologies.
Online Html Editor And Viewer
The Online HTML Editor and Viewer is a simple web application built with Flask that allows users to write and preview HTML code in real-time.
Qrgen
A premium, feature-rich QR Code Generator engineered with Python (Flask) and a pristine Glassmorphism frontend.
Examina Ai
Using AI, It transforms raw study materials into structured, verified examination sets with support for institutional export formats like Moodle XML.