Converts html to pdf with support for variables using fastApi.
- Clone this repository.
git clone https://github.com/ShreehariVaasishta/htmdf.git
- Go to the root directory of this project and install the dependencies using
pip
. Activate virtual environment if you use one.
pip3 install -r requirements.txt
- Run the app
uvicorn main:app --reload
- Here we created a html template for certificates.
- Added csv with columns which needs to be replaced in the html template.