Skip to content

BetsolLLC/hrportal-formfilling-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FASTAPI:

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints.

pip install fastapi
pip install uvicorn

Uvicorn is an ASGI web server implementation for Python.

pip install python-multipart

To receive uploaded files, first install python-multipart. This is because uploaded files are sent as "form data".

To run the python file:

uvicorn main:my_app

(main is the python filename) (my_app is the fastAPI variable)

Rendering docx:

This uses 2 major packages:

  • python-docx for reading, writing and creating sub documents.
  • jinja2 for managing tags inserted into the template docx. python-docx-template is used for creating documents but not for modifying them.

Install docxtpl using pip:

pip install docxtpl
  • PIP is a package manager for Python packages, or modules.
  • docxtpl is a inspiration from python libraries that does word document templating.

For installing all of the python requirements

pip install -r requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages