aaroosh-07 / bons.ai

0 stars 0 forks source link

Decide which python framework to use for backend development #4

Closed aaroosh-07 closed 2 weeks ago

aaroosh-07 commented 2 weeks ago

Description

As we want to prompt LLM models using web application, we need to decide which python framework is best for developing our web server. It should fulfil all the discussion points mentioned below.

Discussion Topics

aaroosh-07 commented 2 weeks ago

We have the following python web frameworks available. Django

Flask

FastAPI

I will be researching into this further to choose which framework will be best for our use case

aaroosh-07 commented 2 weeks ago

I think we should go ahead with FastAPI as

  1. It is lightweight than django, as our use case does not need all the functionality offered by django.
  2. It is faster as it uses asynchronous approach
  3. Development and setup time will be much less as compared to django
  4. It is better than flask due to added security features and support for type checking