Building RESTful Python Web Services with Tornado
2.0 (1 rating)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
10 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Building RESTful Python Web Services with Tornado to your Wishlist.

Add to Wishlist

Building RESTful Python Web Services with Tornado

Create lightweight, maintainable, scalable, and secure web apps using the best tools and techniques
2.0 (1 rating)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
10 students enrolled
Created by Packt Publishing
Last updated 8/2017
Curiosity Sale
Current price: $10 Original price: $125 Discount: 92% off
30-Day Money-Back Guarantee
  • 1 hour on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I 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
View Curriculum
  • You should have some knowledge of RESTful APIs.

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.

About The Author

Gastón C. Hillar is Italian and has been working with computers since he was eight. He began programming with the legendary Texas TI-99/4A and Commodore 64 home computers in the early 80s. He has a Bachelor's degree in Computer Science (he graduated with honors) and an MBA (he graduated with an outstanding thesis). At present, Gastón is an independent IT consultant and freelance author who is always looking for new adventures around the world.

He has been a senior contributing editor at Dr. Dobb's and has written more than a hundred articles on software development topics. Gastón was also a former Microsoft MVP in technical computing. He has received the prestigious Intel® Black Belt Software Developer award eight times.

He is a guest blogger at Intel® Software Network. You can reach him at and follow him on Twitter. 

Who is the target audience?
  • This video course is for web developers who have a working knowledge of Python and would like to build amazing web services by taking advantage of the various frameworks of Python.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
15 Lectures
Developing RESTful APIs with Tornado
5 Lectures 16:07

This video gives an overview of the entire course.

Preview 02:24

 Learn the first and second version of our API.           

Designing a RESTful API to Interact with Slow Sensors and Actuators

 Ability to create a new lightweight virtual environment to work with Tornado.           

Setting Up a Virtual Environment with Tornado

 Generate responses with any status code that is included in the http.HTTPStatus dictionary.           

Declaring Status Codes for the Responses

 Represent the hexacopter class to store status data.           

Creating the Classes That Represent a Drone
Working with the Tornado Web Framework
5 Lectures 22:34

 Learn to declare the methods for each supported HTTP verb.        

Preview 11:10

 Get the ability to create the main entry point for the application to initialize it with the URL patterns for the API.             

Mapping URL Patterns to Request Handlers

 Learn to make HTTP requests to our API from other computers or devices connected to our LAN.       

Making HTTP Requests to the Tornado API

 Learn to compose and send HTTP requests locally in our development computer or devices connected to our LAN.       

Working with Command-Line Tool - HTTPie

 Learn to use the Builder tab in Postman to easily compose and send HTTP requests to localhost.       

Working with GUI Tool - Postman
Working with Asynchronous Code with Tornado
3 Lectures 15:43

 Understand how our current version of the API processes two incoming requests.       

Preview 02:54

 Provide a generator-based interface to define asynchronous code in request handlers in a single generator.       

Refactoring Code to Take Advantage of Asynchronous Decorators

 Understand the advantages of Tornado's non-blocking features.       

Making HTTP Requests to the Tornado Non-Blocking API
Testing and Deploying an API with Tornado
2 Lectures 07:04

Measure test coverage, and install the necessary package to allow us to run coverage with nose2.

Preview 02:42

Define unit tests related to the LED resources.

Defining a First Round of Unit Tests
About the Instructor
Packt Publishing
3.9 Average rating
7,297 Reviews
52,272 Students
616 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.