DEV Community

Cover image for Build a Rest API with Python - The easiest way

Build a Rest API with Python - The easiest way

Ousseynou Diop on January 02, 2020

In this tutorial we will transform our Django phonebook Application to a Rest API A REST API defines a set of functions which developers can perf...
Collapse
 
gabrielviviani profile image
gabriel-viviani

I'll start a project Using FastAPI. It's the best open source docs i've ever seen.
And is also a micro Framework.

Collapse
 
xarala221 profile image
Ousseynou Diop

Try it out.
It's great!

Collapse
 
maximoguerrero profile image
Maximo Guerrero

Nice post! I have been using flask + flask-Restplus just to keep things lightweights.

Collapse
 
xarala221 profile image
Ousseynou Diop

Thank you Maximo.

Flask really love it.
i use it to build MicroServices and small application.

Regards

Collapse
 
astrit profile image
Astrit

I have never done something like this in python but plan to do, what would you use for documentation and authentication ?

Collapse
 
xarala221 profile image
Ousseynou Diop

I use the knox(james1345.github.io/django-rest-kn...) package for authentication and Django Rest Framework (django-rest-framework.org/ is well documented.

If you want to use something lightweight i suggest you to use Flask.

Regards