A Python application that generates a structured, fillable hardware request form in PDF format. The project uses ReportLab and reusable layout components to create interactive fields, styled sections, and an editable parts table.
View the generated fillable PDF
For the best experience with interactive form fields, download the PDF and open it in a compatible PDF reader.
- Fillable PDF form fields
- Reusable form and layout components
- Customizable colors, fonts, and dimensions
- Weighted row layout for flexible field sizing
- Alternating table row colors
- Interactive parts table
- Signature and completion fields
- Clean separation between layout, styles, and PDF components
hardware-request-pdf/
├── examples/
│ └── hardware_request_form.pdf
├── components.py
├── layout.py
├── main.py
├── styles.py
├── requirements.txt
└── README.md
- Python 3.9 or newer
- ReportLab
Clone the repository:
git clone https://github.com/maitekenupp/hardware-request-pdf.git
cd hardware-request-pdfCreate a virtual environment:
python -m venv .venvActivate it on Windows:
.venv\Scripts\Activate.ps1Install the dependency:
python -m pip install -r requirements.txtRun the PDF generator:
python main.pyThe generated form will be saved as:
output/hardware_request.pdf
Visual settings such as colors, fonts, field sizes, and table styles can be changed in styles.py. Form fields and document sections can be adjusted in main.py, while reusable PDF components are defined in components.py.
This project is licensed under the MIT License.