Building RESTful Python Web Services with Tornado

Building RESTful Python Web Services with Tornado

English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 1 Hour | 478 MB

Create lightweight, maintainable, scalable, and secure web apps using the best tools and techniques

Python is the language of choice for millions of developers worldwide, due to its gentle learning curve as well as its vast applications in day-to-day programming. It builds great web services in the RESTful architecture. This video will show you the best tools you can use to build your own web services. Learn how to develop RESTful APIs using the popular Python frameworks and all the necessary stacks with Python and Tornado, combined with related libraries and tools. We will delve into the framework for building various web services. We will show you everything required to successfully develop RESTful APIs with the Tornado framework such as request handling, URL mapping, serialization, validation, authentication, authorization, versioning, databases, and asynchronous callbacks. At the end of the framework, we will add authentication and security to the RESTful APIs and prepare tests for them. By the end of the video, you will have a deep understanding of the stacks needed to build RESTful web services.

What You Will Learn

  • Develop complex RESTful APIs from scratch with Python with and without data sources
  • Map URL patterns to request handlers and check how the API works
  • Debug, test, and profile RESTful APIs with the framework
Table of Contents

01 The Course Overview
02 Designing a RESTful API to Interact with Slow Sensors and Actuators
03 Setting Up a Virtual Environment with Tornado
04 Declaring Status Codes for the Responses
05 Creating the Classes That Represent a Drone
06 Defining Request Handlers
07 Mapping URL Patterns to Request Handlers
08 Making HTTP Requests to the Tornado API
09 Working with Command-Line Tools – curl and HTTPie
10 Working with GUI Tools – Postman and Others
11 Understanding Synchronous and Asynchronous Execution
12 Refactoring Code to Take Advantage of Asynchronous Decorators
13 Making HTTP Requests to the Tornado Non-Blocking API
14 Setting Up Unit Tests
15 Defining a First Round of Unit Tests