Тёмный

How to build a REST API with Python | Deploy to Google Cloud 

Python 360
Подписаться 6 тыс.
Просмотров 13 тыс.
50% 1

In this Python REST API - Flask - Sentiment Analysis - Google Cloud Platform tutorial you will learn :
🟢 how to use NLTK and 'Vader' to code sentiment analysis
🟢 how to build a Python Flask REST API
🟢 how to deploy to Google Cloud Run
We will start by building the sentiment analysis code, and take input from a GET request.
At the end of this video you will have a fully functioning REST API with python and flask and access it as a resource from the world wide web.
📍 Check out these amazing FastAPI courses 📍
🔗 testdriven.io/courses/tdd-fas...
🔗 testdriven.io/courses/scalabl...
🔗 testdriven.io/courses/fastapi...
___________________________________________________________________
-- chapters
0:00 Intro
3:20 Sentiment Analysis Repo - initial code demo
14:15 testing refactored code
18:12 Google Cloud Platform - Cloud Run
20:11 deploying from vscode
28:52 testing the new deployment via Service URL
31:44 testing the API endpoint via a Python script with requests
__________________________________________________________________
Please consider buying Dr Pi a coffee (or Tea)
☕☕☕ www.buymeacoffee.com/DrPi ☕☕☕
Google Cloud Deploy to Cloud Run :
🌏 cloud.google.com/run/docs/qui...
(Deploying to Cloud Run from source)
_________________________________________________________________________________
Note: this is NOT a CRUD API - watch to find out the important difference.
🟥 "A REST API should not be designed around exposing the domain/data model as CRUD-over-http" (Stackoverflow)
I also show how to refcator code to use Flask RESTful : Flask-RESTful is an extension for Flask that adds support for quickly building REST APIs.
Visit redandgreen blog for more Tutorials
=========================================
🌏 redandgreen.co.uk/about/blog/
Subscribe to the RU-vid Channel
=================================
🌏 / drpicode
Follow on Twitter - to get notified of new videos
=================================================
🌏 / rngweb
🟢 Become a patron 👍👍👍
🌏 / drpi
Code available on GitHub - Includes the all important Dockerfile ☑️
🌏 github.com/RGGH/Sentiment-Ana...
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 : 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..)
Flask API
Full Project
Sentiment Analysis
Python REST API code
Python Flask Project Full Code
Deploy REST API to Google Cloud
VADER Sentiment Analyzer
NLTK
#Flask #RESTAPITutorial #python

Наука

Опубликовано:

 

12 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@classictablet9149
@classictablet9149 Год назад
These kind of short video connecting different tools are incredibly useful. Amazing work! Do more.
@python360
@python360 Год назад
Thank you!! 👍👍
@Lepredooo
@Lepredooo Год назад
Thank you, very helpful! And I like your glasses
@python360
@python360 Год назад
Thank you, that's much appreciated! 👍😎
@rodrigo7089
@rodrigo7089 11 месяцев назад
This is a really good tutorial full of valuable information, thanks Dr Pi. New subscriber.
@python360
@python360 11 месяцев назад
Thank you Rodrigo, and welcome 👍
@towyan8187
@towyan8187 Год назад
great work
Далее
Deploy your Flask app on Google Cloud Platform
17:51
Просмотров 12 тыс.
Create A Python API in 12 Minutes
12:05
Просмотров 583 тыс.
ШОКОЛАДКА МИСТЕРА БИСТА
00:44
Просмотров 1,4 млн
ПАПА ГАМБУРГЕР
00:13
Просмотров 126 тыс.
Does size matter? BEACH EDITION
00:32
Просмотров 10 млн
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Просмотров 1,5 млн
Build your first REST API with Flask and PostgreSQL
27:42
Run your React app on Google Cloud
16:28
Просмотров 16 тыс.
Cloud Run QuickStart - Docker to Serverless
7:50
Просмотров 180 тыс.
Cloud Run + Cloud SQL, setup
10:53
Просмотров 30 тыс.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Собери ПК и Получи 10,000₽
1:00
Просмотров 2,4 млн