mguscraper-demo.mp4
MGU Scraper is a tool designed to simplify the process of extracting and analyzing student exam results from Mahatma Gandhi University (MGU).
- Fetches exam results from the MGU portal asynchronously.
- Presents results in a user-friendly table format.
- Provides sorting options to organize data.
- Features charts for visualizing data.
- Allows downloading results as a CSV file for further analysis.
- This tool is intended for educational purposes only.
- The data scraped belongs to MGU and should not be used without their permission. Respecting data ownership and ethical standards is crucial.
The objective of this tool is to help teachers assess their students' exam results easily.
- Clone the Repository:
git clone https://github.com/shonebinu/MGUScraper.git && cd MGUScraper
- Install Required Dependencies:
This command installs the necessary Python libraries the program relies on.
pip install -r requirements.txt
- Run the App:
This launches the MGU Scraper interface in your default web browser.
streamlit run src/app.py
- Select the desired exam from the available options.
- Enter the starting and ending register numbers of the students you want results for.
- Click "Run Scraping" to initiate the process. The tool retrieves and displays the results.
This section outlines optional steps for deploying the app in a production environment (server):
- Run with Authentication:
This option involves user authentication for secure access.
streamlit run src/authenticate.py
- Configure Users:
- Copy
config.yml.example
toconfig.yml
and define user accounts following the provided format in the file.- Hash user passwords using the provided program:
python src/utils/hash_password.py "password1" "password2"
- Hash user passwords using the provided program:
- Copy
- Docker Deployment:
- Run
docker-compose up
to deploy the app using Docker containers. - The app will be accessible on port 80 by default. Modify
docker-compose.yml
to change the port if needed.
- Run
MGU Scraper is licensed under the GNU General Public License v3 (GPL-3).