Skip to main content

A CLI tool for managing student results from Excel sheets.

Project description

Result Analysis (Class 12th CS Project)

A comprehensive Python application designed to analyze, manage, and visualize student examination results from Excel sheets. This project parses raw result data, organizes it, and provides tools for statistical analysis and graphical representation.

Idea Given By Mam

Features

  • 📂 Excel Data Import: Seamless parsing of result sheets with automatic detection of subjects, marks, and student details. Supports fuzzy search to quickly find Excel files in the directory.
  • 📊 Data Visualization: Generate insights using Bar Charts, Line Charts, and Scatter Plots to analyze class performance.
  • 📈 Statistical Analysis: Automatically calculates percentages and totals. Groups students based on custom or default percentage thresholds.
  • 💾 Organized Storage: Keeps processed data structured by Class and Exam name in a local user-data database (CSV format).
  • 🖥️ Interactive Interface: Features a user-friendly CLI menu with support for keyboard navigation (using curses) and a compatibility mode for standard terminals.
  • 🗑️ Data Management: Built-in tools to view and safely delete old class or exam records.

Requirements

Ensure you have Python installed. The project relies on the following external libraries:

  • pandas (Data manipulation)
  • numpy (Numerical operations)
  • matplotlib (Plotting graphs)
  • thefuzz (Fuzzy string matching for file search)
  • openpyxl (Excel file reading backend)

Installation

You can install the package easily using pip:

pip install result-analysis

From Source

  1. Clone this repository.

  2. Navigate to the project directory.

  3. Install using pip:

    pip install .
    

    For development (editable mode), use:

    pip install -e .
    

    Note: Windows users might need windows-curses for the full UI experience.

Usage

Once installed, you can run the application from anywhere using the main command or its shortcuts (rsa, rta):

result-analysis
# OR
rsa
# OR
rta

Download Samples

To download sample Excel files for testing:

rsa download samples

This will create a samples/ folder in your current working directory containing test data (IIIA.xlsx, etc.).

Running the App

Alternatively, you can run it as a Python module:

python -m main
  1. Place your raw Result Excel files (.xlsx) in the directory where you are running the command.
  2. Follow the on-screen menu to:
    • Upload: Select and process an Excel file.
    • Group: Create summary statistics based on percentage ranges.
    • View: Display result tables in the terminal.
    • Plot: Visualize the data.
    • Delete: Remove unwanted data.

Project Structure

  • main.py: Entry point.
  • data/: Data parsing and handling logic.
  • ui/: User interface components.
  • graphs/: Plotting and visualization logic.
  • group/: Grouping logic.
  • user-data/: Automatically generated directory where processed CSV files are stored, organized by Class and Exam.

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

result_analysis-1.0.0.tar.gz (44.5 kB view details)

Uploaded Source

Built Distribution

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

result_analysis-1.0.0-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

Details for the file result_analysis-1.0.0.tar.gz.

File metadata

  • Download URL: result_analysis-1.0.0.tar.gz
  • Upload date:
  • Size: 44.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for result_analysis-1.0.0.tar.gz
Algorithm Hash digest
SHA256 23a31beba71b0247d3afdd84dcad6b7667e2e7432d6a2d39ed123a416a2837ef
MD5 d82276ed1f4121116fd995c46855c270
BLAKE2b-256 0bcff435ada6f27b6d0222f8ef3e4482dcb1258f33576fc314f48273e9feff5e

See more details on using hashes here.

File details

Details for the file result_analysis-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for result_analysis-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd1212bd2969cb7e7af0c14826fa3af393bc383fef5e918abf11f850a78cbbdd
MD5 d9541b47b0d29c01829aa9a0f85278ce
BLAKE2b-256 c354ac820d30f04ae687fa9644426588c311de3cf5b63c6fa1fc93e4ba380e6a

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