Refactor Flask Python Code to FastAPI

Publié le: 06 décembre 2021
sur la chaîne: Python 360
702
16

This is a follow up to    • How to build a REST API with Python |...   where we created an API for sentiment analysis with NLTK (VADER). In this video I refactor the code to work with FastAPI and Pydantic.
This allows for easier error checks and faster code. At the end I test with requests and POST request to check some example sentences.

Watch the Python API playlist :    • Python FastAPI / NLP (NLTK)  

📍 Check out these amazing FastAPI courses 📍
🔗 https://testdriven.io/courses/tdd-fas...
🔗 https://testdriven.io/courses/scalabl...
🔗 https://testdriven.io/courses/fastapi...

Visit redandgreen blog for more Tutorials
=========================================
🌏 http://redandgreen.co.uk/about/blog/

Subscribe to the YouTube Channel
=================================
🌏    / drpicode  

Follow on Twitter - to get notified of new videos
=================================================
🌏   / rngweb  

👍 Become a patron 👍
🌏   / drpi  

Code available on GitHub ☑️
🌏 https://github.com/RGGH/Sentiment-Ana...

Buy Dr Pi a coffee (or Tea)
☕ https://www.buymeacoffee.com/DrPi

Proxies
=================================================
If you need a good, easy to use proxy, I was recommended this one, and having used ScraperAPI for a while I can vouch for them. If you were going to sign up anyway, then maybe you would be kind enough to use the link and the coupon code below?

You can also do a full working trial first as well, (unlike some other companies). The trial doesn't ask for any payment details either so all good! 👍

🌏 10% off ScraperAPI : https://www.scraperapi.com?fpr=ken49
◼️ Coupon Code: DRPI10
(You can also get started with 1000 free API calls. No credit card required.)

Thumbs up yeah? (cos Algos..)

#fastapi #sentimentanalysis #python


Sur cette page du site, vous pouvez voir la vidéo en ligne Refactor Flask Python Code to FastAPI durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Python 360 06 décembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 702 fois et il a aimé 16 téléspectateurs. Bon visionnage!