Home
Videos uploaded by user “Pretty Printed”
Asynchronous Tasks in Python - Getting Started With Celery
 
09:18
in this video I'll show you how to get started with a simple task using Celery and RabbitMQ. Celery allows you to execute tasks outside of your Python app so it doesn't block the normal execution of the program. Asynchronous tasks work especially well with web apps because you can allow the user to continue to browse your site while some expensive operation like inserting data into a database or sending an email runs outside of the web app. Celery Project: http://www.celeryproject.org/ Rabbit MQ: https://www.rabbitmq.com/ Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 53024 Pretty Printed
An Introduction to Sessions in Flask
 
06:38
This is one way of handling sessions in Flask. In the next video, I'll show you a more realistic example using sessions. Watch part two here: https://www.youtube.com/watch?v=T1ZVyY1LWOg
Views: 17011 Pretty Printed
Intro to Flask-Bootstrap
 
08:56
I demonstrate how to use Flask-Bootstrap in this video. Flask-Bootstrap is a great way to have Bootstrap included in your Flask app without you having to think about including the resources yourself. Get the code here: https://prettyprinted.com/blog/577501/intro-to-flask-bootstrap Get the Flask cheat sheet here: http://prettyprinted.com/flaskcheatsheet Flask Bootstrap docs: https://pythonhosted.org/Flask-Bootstrap/ Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 34771 Pretty Printed
Python Package Tutorial - Organize Your Code
 
06:10
In this video, I'll show you the basics of creating your own packages to import and use in Python. Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 41244 Pretty Printed
SQL Partition By Explained
 
06:42
Using Oracle's SQL, I'll explain how to use Partition By. This will be similar in other SQL engines that have the Partition By keyword.
Views: 31725 Pretty Printed
Intro to Flask Blueprints
 
14:21
Blueprints are a way to organize your code in Flask to keep independent sections of your app as separate as possible. Check out the documentation here: http://flask.pocoo.org/docs/0.11/blueprints/ To download the Flask cheatsheet, just go here: http://prettyprinted.com/flaskcheatsheet Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 25809 Pretty Printed
Creating a RESTFul API With Flask [1 of 4] - Get Requests
 
06:46
The first in a series of videos on how to create a restful API using Flask. This video will show you how to create GET API endpoints. To get a free Flask cheat sheet, go here: http://prettyprinted.com/flaskcheatsheet Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 67543 Pretty Printed
An Introduction to Flask-Uploads
 
05:41
In this video, I briefly explain how to get up and running with Flask-Uploads so you can handle saving files from forms in your app. Flask-Uploads docs: https://pythonhosted.org/Flask-Uploads/ Flask-Uploads GitHub: https://github.com/jeffwidman/flask-uploads/ Code used in this video: https://github.com/PrettyPrinted/flask-uploads-intro
Views: 15306 Pretty Printed
SQLAlchemy Migrations Using Flask-Migrate
 
09:12
If you need to update your database without dropping and recreating the tables (you will need to eventually), Flask-Migrate is a great way to do so easily. It will handle everything for you, and it will even keep track of your database's video. I cover how to use it in this video.
Views: 10310 Pretty Printed
Getting Started With Django REST Framework
 
26:31
Easily build REST APIs Django using the Django REST Framework. In this video, I introduce the framework to you. Web Development Courses: https://prettyprinted.com Get the code here: https://s3.us-east-2.amazonaws.com/prettyprinted/api_example.zip Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 46390 Pretty Printed
How to Use Read and Create JSON Objects in Flask
 
07:42
Using JSON objects is a common task in Flask that you'll need to know anytime you working on any kind of API. In this video, I show you how to create and read JSON objects in Flask.
Views: 19332 Pretty Printed
An Introduction to the Bottle Web Framework for Python
 
05:56
Bottle is a micro framework that is great you if you to quickly create simple web apps. It has no dependencies, so deploying is painless. Watch this video for a quick intro to Bottle. I'll also have more videos on Bottle in the future. Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 19587 Pretty Printed
Intro to Flask-Admin
 
08:35
Flask Admin is a great way to update your database in areas where the user wouldn't be directly involved. So instead of manipulating the database from your database client or writing your own views to handle basic database tasks, Flask-Admin makes it really easy for you to do this from your Flask app. In this video, I'll show you the examples created by the developer of Flask-Admin, and then I'll show you how to set up a basic version of it in your app using Flask-SQLAlchemy and SQLite. You can read the docs here: https://flask-admin.readthedocs.io/en/latest/ Flask Admin example: http://examples.flask-admin.org/ Flask Cheatsheet: http://prettyprinted.com/flaskcheatsheet
Views: 19716 Pretty Printed
How to Use Google Sheets in Python
 
17:03
Instead of using a database you may be interested in just using Google Sheets to hold your data. In this video I show you how to use Python to interact with your Google sheets. Google developer console: https://console.developers.google.com Learn more about gspread: https://github.com/burnash/gspread Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 28536 Pretty Printed
Sending JSON Data Using Python Requests
 
04:42
In this video I talk about how to send JSON data along with a request in Python. Reqres: https://reqres.in Learn Python Requests course: https://prettyprinted.com/p/python-requests Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 11306 Pretty Printed
An Introduction to JSON Web Tokens (JWT) in Python
 
06:29
In this video I give a brief overview of how JSON Web Tokens (JWT) work and why you'd want to use them. I also show you how to use PyJWT to generate and decode JWTs. Check out jwt.io Programming courses are up on prettyprinted.com
Views: 9339 Pretty Printed
The Basics of Python Decorators
 
13:41
In this video I explain what decorators in Python are and how to use and create them. You've probably seen decorators used in Python code in many places, so this video should remove a lot of the mystery behind them. Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 30934 Pretty Printed
Python Requests Tutorial - How to Call a Weather API
 
11:29
In this video I'll use the Requests library in Python to connect to a Weather API to get the current temperature. This video uses Flask to display the pages. You can get the code for this video here: https://github.com/PrettyPrinted/python-weather-api Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 70520 Pretty Printed
Intro to Flask-WTF (Part 1 of 5)
 
12:15
Using Flask-WTF in your app makes it so much easier to handle forms in Flask. Instead of manually handling everything, Flask-WTF provides abstracts that make form handling a breeze. In this five part series, I'll cover common use cases for Flask-WTF. In part 1, I cover how to set up a basic form. WTForms Fields: http://wtforms.simplecodes.com/docs/0.6/fields.html#basic-fields Get the Flask cheat sheet here: https://prettyprinted.com/flaskcheatsheet Get the code here: https://prettyprinted.com/blog/578361/intro-to-flask-wtf
Views: 13155 Pretty Printed
Connecting to a MongoDB in Flask Using Flask-PyMongo
 
08:21
If you want an alternative way of handling MongoDB connections in Flask, this video is for you. PyMongo doesn't require you to define any type of schema, like MongoAlchemy, before you start interacting with the database. Your code will be much shorter if you choose to use PyMongo over MongoAlchemy. Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 26376 Pretty Printed
How to Use a Postgres Database in Django
 
07:06
If you want to use something other than SQLite in your Django apps then this video is for you. I talk about how to connect to a Postgres database in Django. Django Database Essentials: https://prettyprinted.com/p/django-database-essentials Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 15669 Pretty Printed
Intro to Flask-RESTPlus
 
15:10
In this video, I cover Flask-RESTPlus and how you can use it to build APIs in Flask. Get the code here: https://s3.us-east-2.amazonaws.com/prettyprinted/intro+to+flask+restplus.zip Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 10647 Pretty Printed
Writing CSV Files in Python
 
06:13
To go along with my reading CSV files in Python, I've created this writing CSV files in Python. Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 36331 Pretty Printed
Deploy a Django App to Python Anywhere
 
15:11
Python Anywhere is a great place to put your app if you're looking to deploy it for the first time. It's free and easy to use. Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 29354 Pretty Printed
Submit AJAX Forms with jQuery and Flask
 
13:24
Submitting forms without refreshing is a common feature of many websites. In this video, I'll show you how to do it using the AJAX function in jQuery and submitting the data to a Flask backend that processes the form data. Download the cheat sheet here: https://prettyprinted.com/flaskcheatsheet Get the code here: https://github.com/PrettyPrinted/AJAX_Forms_jQuery_Flask
Views: 25185 Pretty Printed
Django Authentication Basics
 
19:38
In this video I show you the very basics of using Django authentication. Feel free to leave any questions or comments. Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 24483 Pretty Printed
Creating a Chat App With Flask-SocketIO
 
16:03
I introduce Flask-SocketIO in this video by creating a simple chat app. Lookout of for other SocketIO videos where I create more complicated apps. To download the cheat sheet, go here: http://prettyprinted.com/flaskcheatsheet/ Get the code here: https://github.com/PrettyPrinted/flask-socketio-chat Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 41079 Pretty Printed
Converting Flask-SQLAlchemy to JSON With Flask-Marshmallow
 
11:51
It's very common to return JSON representations of rows in yoru database. In this video, I show you how to use Flask-Marshmallow to return JSON versions of your Flask-SQLAlchemy models. Get the code: https://s3.us-east-2.amazonaws.com/prettyprinted/convert_to_json.zip Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 7768 Pretty Printed
Creating One-To-Many Relationships in Flask-SQLAlchemy
 
16:25
I talk about how to use Flask-SQLAlchemy to create tables for you and how to create one-to-many relationships between tables. This is an update over my old video in which the sound cuts out. The Flask-SQLAlchemy Basics course: https://prettyprinted.com/p/flask-sqlalchemy-basics Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 14501 Pretty Printed
Creating a RESTFul API with Python and Flask [2 of 4] - POST Requests
 
06:07
In this video, we will cover how to create POST requests using Python and Flask. To read the written tutorial, go to http://prettyprinted.com/creating-a-restful-api-with-python-and-flask-part-two-post-requests/ To get a free Flask cheat sheet, go here: https://prettyprinted.com/flaskcheatsheet Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 32184 Pretty Printed
Intro to Flask (Part 1)
 
01:51
If you are a newbie to Flask, check out this video series. In it I take you from knowing nothing about Flask to building a small app. This is part 1 of 8 of my Intro to Flask series. Make sure you checkout the other videos! You can view the code here: https://github.com/PrettyPrinted/intro_to_flask Try the interactive tutorial on Enkato here: http://www.enkato.com/s/oSMakaBdu2neiEVHHaqZiY Get a Flask cheat sheet here: http://prettyprinted.com/flaskcheatsheet If you have trouble with MySQL, check out this blog post: http://www.it-recipes.com/articles/blog/114
Views: 9398 Pretty Printed
Deploying Flask Apps to an Ubuntu Server
 
13:58
If you have an Ubuntu server somewhere out there, I'll show you how to install the tools necessary to run Flask apps. I wouldn't recommend this path, but it's good to know if you're curious. Nginx:http://nginx.org/en/ Gunicorn: http://gunicorn.org/ Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 36747 Pretty Printed
Python Beginner Tutorial: Install Python on Windows and Install Packages with pip
 
06:58
New to Python and you're using Windows? Then watch this video to get you started installing Python, using the IDLE shell/editor, and using pip to install Python packages. Virtual env docs: https://virtualenv.pypa.io/en/latest/ Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 7441 Pretty Printed
Deploying Flask Apps Using Python Anywhere
 
13:46
Want to deploy your Flask app on the web? Try using Python Anywhere. I demonstrate its use in this video. https://www.pythonanywhere.com/
Views: 29593 Pretty Printed
Asynchronous Task in Flask Using Celery
 
10:37
Combining Celery with a Flask app is a great way to make sure users don't have to wait unnecessarily for long tasks. In this video, I'll show you how to integrate Celery with Flask. To get the code for make_celery, visit the Flask docs here: http://flask.pocoo.org/docs/1.0/patterns/celery/ To watch the bonus video on how to integrate Flask-SQLAlchemy with both Flask and Celery, go to http://prettyprinted.com/flaskcelery To see the previous video, go here: https://youtu.be/UHveawwmi-o
Views: 22034 Pretty Printed
Reading CSV Files In Python
 
06:03
Reading CSV files is a common task in Python. In this video, I show you how to do it. Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 15148 Pretty Printed
A Quick Intro to Model Formsets in Django
 
10:37
In this video I go through an example of using model formsets in Django. Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 2661 Pretty Printed
JavaScript Objects vs JSON Objects
 
02:42
In this video I explain one key difference between JavaScript objects and JSON objects
Views: 4367 Pretty Printed
How to Handle Request JSON Data in Flask
 
05:24
In this video, I show you to handle JSON data sent along with a POST request to one of your routes in Flask. This is a preview course for my Flask for Beginners course, so if you like this video, you'll like the other videos. So if you have any doubts surrounding handling incoming JSON data in Flask, you'll enjoy this video. Check out the course here: https://prettyprinted.com/p/flask-for-beginners
Views: 14032 Pretty Printed
Flask - Basic App Organization
 
14:16
Flask is great because it allows you to build your entire app in a single file, but what should you do once you outgrow that? Instead of jumping directly into blueprints or a complicated app structure, try something simple. In this video, I show you a very simple way to organize your Flask project once you've outgrown a single file. Get the Flask cheat sheet here: https://prettyprinted.com/flaskcheatsheet Get the code here: https://prettyprinted.com/blog/577442/flask-basic-app-organization
Views: 26697 Pretty Printed
Using url_for In Flask Templates
 
04:26
This is a continuation of my previous video on using url_for. In this video, I'll talk about how to use the url_for function in Jinja templates.
Views: 4395 Pretty Printed
How to Install and Use Flask on Windows for Beginners (2019)
 
09:03
In this video I show you how to install Flask and create a simple app on Windows. You'll need to have Python installed before you proceed, but once you do, you'll see that's it's a simple process. You can get the text editor I use here: https://www.sublimetext.com/ Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 2276 Pretty Printed
Django REST Framework Model Relationships
 
14:32
In this video I talk about and demonstrate and models with relationships are handled in the Django REST framework. Web Development Courses: https://prettyprinted.com Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 13586 Pretty Printed
Connecting to a Database in Flask Using Flask-SQLAlchemy
 
08:03
In this video I'll show you how to connect to a database in Flask using Flask-SQLAlchemy. Source: https://github.com/PrettyPrinted/flask-sqlalchemy-connect To get a free Flask cheat sheet, go here: http://prettyprinted.com/flaskcheatsheet Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 69068 Pretty Printed
Authenticating a Flask API Using JSON Web Tokens
 
20:33
In this video, I show you how to use JSON Web Tokens (JWT) to authenticate users of your API. First, a user will have to login using a specially created route which returns a token. Once a token is generated, it can be sent along with the rest of the request to other parts of your API to verify the user's identity without the user having to provide any additional login information. It's an easy way to verify the identity of users without making them go through the extra step of logging in every time they make a request. Get the code here: https://prettyprinted.com/blog/959347/authenicating-flask-api-using-json-web-tokens Basic HTTP Auth video: https://youtu.be/VW8qJxy4XcQ Intro to JWT video: https://youtu.be/tfKatqbZicA Check out the courses over at https://prettyprinted.com
Views: 21254 Pretty Printed
Asynchronous Tasks in Python - Celery Backend Tutorial
 
08:02
When using Celery, the only way for you to store the results of the Celery workers is to use a backend. If you don't use your backend, once the worker completes whatever task you assigned it, the result will be gone forever. By adding a backend, you can avoid that problem. In this video, I'll show you how to easily add a backend to your app using SQLAlchemy. Web Development Courses: https://prettyprinted.com Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation= Twitter: https://twitter.com/pretty_printed Facebook: https://www.facebook.com/prettyprintedtutorials/ Github: https://github.com/prettyprinted Instagram: https://www.instagram.com/pretty_printed Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Views: 24693 Pretty Printed
Creating a RESTFul API With Flask [4 of 4] - DELETE Requests
 
03:28
In this video, I'll show you how to do DELETE requests using Python and Flask. Read the written tutorial here: http://prettyprinted.com/creating-a-restful-api-with-flask-part-four-delete-requests/ To get a free Flask cheat sheet, go here: http://prettyprinted.com/restfulapi_flaskcheatsheet
Views: 11176 Pretty Printed
Using the url_for Function in Flask
 
04:50
In this video, I'll show you how to reference other URLs from within your application. Get the code here: https://github.com/PrettyPrinted/flask-url_for
Views: 3531 Pretty Printed
Flask-WTF - Creating a Macro to Reduce Code Duplication (4 of 5)
 
07:35
For each form element you add to your page, there's code that is similar for each element. In this video, I show you how to create a Jijna macro to reduce code duplication. Get the code here: https://prettyprinted.com/blog/729590/flask-wtf-creating-macro Get the Flask cheat sheet here: https://prettyprinted.com/flaskcheatsheet
Views: 4111 Pretty Printed
Using Message Flashing in Flask
 
05:00
In this video I'll show you how to use message flashing in Flask to send messages from one request to the next request.
Views: 6521 Pretty Printed