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
In questa pagina del sito puoi guardare il video online Refactor Flask Python Code to FastAPI della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Python 360 06 dicembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 702 volte e gli è piaciuto 16 spettatori. Buona visione!