Refactor Flask Python Code to FastAPI

Опубликовано: 06 Декабрь 2021
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн Refactor Flask Python Code to FastAPI длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Python 360 06 Декабрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 702 раз и оно понравилось 16 зрителям. Приятного просмотра!