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.1.tar.gz (44.7 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.1-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: result_analysis-1.0.1.tar.gz
  • Upload date:
  • Size: 44.7 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.1.tar.gz
Algorithm Hash digest
SHA256 d11c0d78972e9d7a58d78b0662b3ba8d8571e3dc31525508503ead668eb96235
MD5 4b482b205a1a4cccf2fdcbd25ab9578f
BLAKE2b-256 560cf102d4d48f2b8c85a9171a02f6f98d8a79ac7c04a238195ca3643a7041a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for result_analysis-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc481ba1aacc634632f9a09214d260782193ac833501de882acff458f6ad869a
MD5 611b012dd3a6b2e7fd22a8ed9d480fbe
BLAKE2b-256 f1087459d1b38c409e84cec7f1ef5412d1f011a2f31eb58aa224f083a17c6792

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