- Python 3.x
- PyMySQL
- python-dotenv
config/settings.py: Loads environment variables from.envutils/db_utils.py: Database utility functions (MySQL)scripts/generate_pdf.py: Main PDF generation script (entry point).env.example: Example environment filerequirements.txt: Python dependencies.gitignore: Ignores IDE, Python, and environment filesmigration.py: Deprecated, points to old migration structuredatamigration/: Python package marker
-
Install dependencies
pip install -r requirements.txt
-
Configure environment variables
- Copy
.env.exampleto.envand update values as needed.
- Copy
-
Run PDF Generation
python -m scripts.generate_pdf
- Make sure your MySQL server is running and accessible with the credentials provided in
.envif your PDF generation requires database access. - The PDF generation script will generate PDFs as per your implementation.