A desktop application for university students to generate lab sheet templates automatically.
- First-time setup wizard for student information
- Store multiple module names and codes
- Generate formatted lab sheets in .docx format
- Custom university logo support
- Cross-platform (Windows, macOS, Linux)
-
Clone the repository
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- Windows:
venv\Scripts\activate - macOS/Linux:
source venv/bin/activate
- Windows:
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python -m app.main
To create a standalone .exe file:
# Make sure all dependencies are installed
pip install -r requirements.txt
# Run the build script
python build.pyThe executable will be created in the dist/ folder as LabSheetGenerator.exe.
If you prefer to build manually:
pyinstaller --name="LabSheetGenerator" --windowed --onefile app/main.pyThe generated .exe file is standalone and can be:
- Copied to any Windows computer
- Shared with other students
- Run without Python installation
- Placed anywhere (Desktop, USB drive, etc.)
Note: On first run, users will see the setup wizard to configure their information.
lab-sheet-generator-app/
│
├── app/ ← source code
│ ├── __init__.py
│ ├── main.py ← app entry point (GUI)
│ ├── generator.py ← code for docx creation
│ ├── config.py ← load/save user settings
│ ├── ui/ ← UI files
│ │ ├── __init__.py
│ │ ├── setup_ui.py ← first-time setup screen
│ │ ├── main_ui.py ← main window
│ │ └── assets/
│ │ └── default_logo.png
│ └── utils/
│ ├── paths.py ← handles config paths
│ └── validators.py ← input validation
│
├── tests/
│ └── test_generator.py
│
├── requirements.txt
├── README.md
└── .gitignore
The app stores user configuration in:
- Windows:
%APPDATA%/LabSheetGenerator/config.json - macOS/Linux:
~/.config/LabSheetGenerator/config.json
Generated lab sheets are saved to:
Documents/LabSheets/
- On first run, enter your student information and module details
- Upload your university logo
- Select a module and practical number
- Click "Generate" to create your lab sheet
MIT License