Skip to content

A Python-based tool for scraping HackerRank student attempts and storing the data in a MySQL database using Selenium and FastAPI.

Notifications You must be signed in to change notification settings

GaganReddyin/HackerRank-PlagiarismChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

HackerRank-PlagiarismChecker

Overview

This project scrapes data from the HackerRank dashboard to track student attempts and stores the results in a MySQL database. It uses Python with Selenium for web scraping and SQL for data storage.

Tech Stack

  • Backend Framework: FastAPI
  • Web Scraping: Selenium
  • Database: MySQL
  • ORM: SQLAlchemy
  • Python Libraries:
    • uvicorn for ASGI server
    • pymysql for MySQL connection

Prerequisites

  1. Install Dependencies: Ensure you have Python and pip installed. Then install the required Python packages.

    pip install fastapi uvicorn selenium sqlalchemy pymysql
  2. Setup MySQL: Install and configure MySQL on your local machine.

Configuration

HackerRank Inputs

  • Admin Username: Your HackerRank admin username.
  • Admin Password: Your HackerRank admin password.
  • Student Username: The username of the student whose data you want to fetch.
  • Contest Name: The name of the contest to scrape.

MySQL Configuration

  • Username: Your MySQL username.
  • Password: Your MySQL password.
  • Database: The name of your MySQL database.
  • Host: The host where MySQL is running (default is localhost).

About

A Python-based tool for scraping HackerRank student attempts and storing the data in a MySQL database using Selenium and FastAPI.

Topics

Resources

Stars

Watchers

Forks