Skip to content
/ ASUP Public

A Python program that automates school teacher substitution using Excel & generates Word output.

Notifications You must be signed in to change notification settings

NishantMM/ASUP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ASUP – Automated Substitution Program

ASUP (Automated Substitution Program) is a Python-based automation tool designed to help schools efficiently manage teacher substitutions. It uses Excel files to read teacher schedules and class group mappings, then generates a Word document listing eligible substitute teachers based on school-specific rules.


πŸš€ Features

  • Reads and processes teacher timetable and group mapping from Excel files
  • Automatically filters for:
    • Teachers with 2 or more free periods
    • Category-based teaching groups (6–8 and 9–12)
  • Generates a ready-to-edit .docx file with substitution recommendations
  • Designed to be easily customized for different institutions' needs (e.g., moral reasoning, priority teachers)
  • Lightweight and doesn't require a complex database

πŸ“ File Structure

ASUP/
β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ teachers_timetable.xlsx            # Input: Teacher period schedules
β”‚   β”œβ”€β”€ teacher_group_mapping.xlsx         # Input: Class group assignments per teacher
β”œβ”€β”€ output/
β”‚   └── substitution_list.docx             # Output: Generated substitution list
β”œβ”€β”€ main.py                                # Main logic script
β”œβ”€β”€ README.md                              # Project documentation
└── requirements.txt                       # Python dependencies

 **Input Files (Excel Format)**
The program uses the following files from the data folder:

πŸ”Ή T_TIMETABLE.xlsx
Format: One worksheet per teacher

Each sheet:

Rows: Days of the week (Monday to Saturday)

Columns: Period 1 to Period 8

Cell content:

Blank β†’ Free period

Otherwise β†’ Subject-ClassSection (e.g., Math-6A, Sci-7B)

πŸ”Ή TMAP-Teachers-Classes.xlsx
A single-sheet Excel file mapping teacher codes and class groups.

Columns:

TCODE – Unique teacher ID (e.g., T102)

TNAME – Teacher's name (e.g., Anjali)

TCLASSES – Classes taught, as comma-separated values (e.g., 6,7)

⚠️ The real files are excluded for privacy. Sample files are provided in the data/ folder.

About

A Python program that automates school teacher substitution using Excel & generates Word output.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages