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: 63373 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: 36988 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: 20683 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: 40073 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: 29695 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: 50609 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. Get the code here: https://github.com/PrettyPrinted/youtube_video_code/tree/master/2015/11/18/Creating%20a%20RESTFul%20API%20With%20Flask%20(1%20of%204)%20-%20GET%20Requests 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: 74494 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: 12320 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: 21961 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: 22650 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: 12363 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: 64527 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: 33403 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: 17677 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: 17146 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: 11149 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: 22625 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: 15852 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: 22603 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: 36963 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: 39087 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: 46989 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. Get the code here: https://github.com/PrettyPrinted/youtube_video_code/tree/master/2015/11/18/Creating%20a%20RESTFul%20API%20Using%20Python%20and%20Flask%20(2%20of%204)%20-%20POST%20Requests 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: 35185 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: 46593 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: 30519 Pretty Printed
How to Use Flask to Create and Read Cookies
 
09:09
I'll show you how to use Flask to set and read cookies on your site in this video. The session management extension that I couldn't remember in the video: https://flask-login.readthedocs.org/en/latest/ Get the code here: https://github.com/PrettyPrinted/flask_cookies
Views: 11187 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: 4725 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: 79716 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: 19686 Pretty Printed
How to Use Django REST Framework Permissions
 
11:06
Permissions are important to restrict who can do what to your API endpoints, so in this video I show you how to use permissions in the Django REST Framework to do just that. Check out my free Django database course: 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: 10968 Pretty Printed
JavaScript Objects vs JSON Objects
 
02:42
In this video I explain one key difference between JavaScript objects and JSON objects
Views: 4602 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: 31788 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: 29736 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: 10310 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: 21156 Pretty Printed
An Introduction to Python and Flask Templates
 
08:04
I'll cover how to get started using Jinja templates in Flask. This video introduces variables and conditionals. Get the code here: https://github.com/PrettyPrinted/youtube_video_code/tree/master/2015/11/21/An%20Introduction%20to%20Python%20and%20Flask%20Templates
Views: 15045 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: 35401 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: 5291 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: 10336 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: 8406 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: 41683 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: 26774 Pretty Printed
Creating Many-To-Many Relationships in Flask-SQLAlchemy
 
20:45
I talk about how to use Flask-SQLAlchemy to create many-to-many relationships between tables. To get a free Flask cheat sheet, go here: http://prettyprinted.com/sqlalchemy_flaskcheatsheet
Views: 19629 Pretty Printed
Intro to Marshmallow: A Python Object Serialization Library
 
15:55
In this video, I introduce Marshmallow, a Python object serialization library. I show you what you is used for and how to use it. Get the code here: https://s3.us-east-2.amazonaws.com/prettyprinted/intro_to_marshmallow.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: 8110 Pretty Printed
A Tool For Easier API Development - Postman
 
04:09
In this video I show you a cool Chrome extension called Postman, which allows you to create requests and view responses to any API that you have access to. I highly recommend using it if you're doing any kind of API development.
Views: 9054 Pretty Printed
Sending Emails in Django
 
08:39
In this video I show you how to send emails in Django using the send_mail function. https://docs.djangoproject.com/en/2.0/topics/email/ 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: 13710 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: 26539 Pretty Printed
Bottle Python Web Framework - Static Files
 
06:32
In this video I'll show you how to handle static files inside of Bottle templates.
Views: 3555 Pretty Printed
Connecting to a SQLite Database Using Flask-SQLAlchemy
 
05:20
I'm done with MySQL! From now on, I'll be using SQLite instead unless I have a good reason not to. In this video I show you how to create a SQLite database and connect to it using Flask-SQLAlchemy. https://sqlite.org/
Views: 15115 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: 4269 Pretty Printed