Jump to ratings and reviews
Rate this book

Hands-On RESTful Python Web Services: Develop RESTful web services or APIs with modern Python 3.7, 2nd Edition

Rate this book
Explore the best tools and techniques to create lightweight, maintainable, and scalable Python web services

Key FeaturesCombine Python with different data sources to build complex RESTful APIs from scratchConfigure and fine-tune your APIs using the best tools and techniques availableUse command-line and GUI tools to test CRUD operations performed by RESTful Web Services or APIsBook DescriptionPython is the language of choice for millions of developers worldwide that builds great web services in RESTful architecture. This second edition of Hands-On RESTful Python Web Services will cover the best tools you can use to build engaging web services.

This book shows you how to develop RESTful APIs using the most popular Python frameworks and all the necessary stacks with Python, combined with related libraries and tools. You’ll learn to incorporate all new features of Python 3.7, Flask 1.0.2, Django 2.1, Tornado 5.1, and also a new framework, Pyramid. As you advance through the chapters, you will get to grips with each of these frameworks to build various web services, and be shown use cases and best practices covering when to use a particular framework.

You’ll then successfully develop RESTful APIs with all frameworks and understand how each framework processes HTTP requests and routes URLs. You’ll also discover best practices for validation, serialization, and deserialization. In the concluding chapters, you will take advantage of specific features available in certain frameworks such as integrated ORMs, built-in authorization and authentication, and work with asynchronous code. At the end of each framework, you will write tests for RESTful APIs and improve code coverage.

By the end of the book, you will have gained a deep understanding of the stacks needed to build RESTful web services.

What you will learnSelect the most appropriate framework based on requirementsDevelop complex RESTful APIs from scratch using PythonUse requests handlers, URL patterns, serialization, and validationsAdd authentication, authorization, and interaction with ORMs and databasesDebug, test, and improve RESTful APIs with four frameworksDesign RESTful APIs with frameworks and create automated testsWho this book is forThis book 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. You should have some knowledge of RESTful APIs.

Table of ContentsDeveloping RESTful APIs and Microservices with Flask 1.0.2Working with Models, SQLAlchemy, and Hyperlinked APIs in FlaskImproving API and Adding Authentication to it with FlaskTesting and Deploying an API in a Microservice with FlaskDeveloping RESTful APIs with Django 2.1Working with Class-based Views and Hyperlinked APIs in Django 2.1Improving our API and Adding Authentication to it with DjangoThrottling, Filtering, Testing, and Deploying an API with Django 2.1Developing RESTful APIs with Pyramid 1.10Developing RESTful APIs with Tornado 5.1.1Working with Asynchronous Code, Testing, and Deploying an API with Tornado

500 pages, Kindle Edition

Published December 26, 2018

12 people are currently reading
10 people want to read

About the author

Gaston C. Hillar

44 books16 followers
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 degree in Computer Science from which he graduated with honors, and an MBA from which he graduated with an outstanding thesis. At present, Gaston 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. Gaston 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 (https://software.intel.com). You can follow him on Twitter at https://twitter.com/gastonhillar.
His Amazon Web page is: https://www.amazon.com/Gast%C3%B3n-Hi...
He lives with his wife, Vanesa, and his two sons, Kevin and Brandon.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (50%)
4 stars
0 (0%)
3 stars
1 (50%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Sebastian Godoy.
41 reviews3 followers
April 16, 2020
Tries to cover too much in a repetitive way, it's like a very long tutorial. To show examples of the requests I find unnecessary to show the complete results of both tools(curl and httpie).

Also doesn't get into detail in a lot of topics, specially when "deploying" the APIs, and some chapters are 1-2 pages long.

If you're a beginner in a hurry this book might be to you because it gives you the code of the examples
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.