Refactor Flask Python Code to FastAPI

Veröffentlicht am: 06 Dezember 2021
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Refactor Flask Python Code to FastAPI mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Python 360 06 Dezember 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 702 Mal angesehen und es wurde von 16 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!