Hands-On RESTful Python Web Services: Develop RESTful web services or APIs with modern Python 3.7, 2nd Edition
โ Scribed by Gaston C. Hillar
- Publisher
- Packt Publishing
- Year
- 2018
- Tongue
- English
- Leaves
- 490
- Edition
- Paperback
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Explore the best tools and techniques to create lightweight, maintainable, and scalable Python web services
Key Features
โข Combine Python with different data sources to build complex RESTful APIs from scratch
โข Configure and fine-tune your APIs using the best tools and techniques available
โข Use command-line and GUI tools to test CRUD operations performed by RESTful Web Services or APIs
Book Description
Python 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 learn
โข Select the most appropriate framework based on requirements
โข Develop complex RESTful APIs from scratch using Python
โข Use requests handlers, URL patterns, serialization, and validations
โข Add authentication, authorization, and interaction with ORMs and databases
โข Debug, test, and improve RESTful APIs with four frameworks
โข Design RESTful APIs with frameworks and create automated tests
Who this book is for
This 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 Contents
- Developing RESTful APIs and Microservices with Flask 1.0.2
- Working with Models, SQLAlchemy, and Hyperlinked APIs in Flask
- Improving API and Adding Authentication to it with Flask
- Testing and Deploying an API in a Microservice with Flask
- Developing RESTful APIs with Django 2.1
- Working with Class-based Views and Hyperlinked APIs in Django 2.1
- Improving our API and Adding Authentication to it with Django
- Throttling, Filtering, Testing, and Deploying an API with Django 2.1
- Developing RESTful APIs with Pyramid 1.10
- Developing RESTful APIs with Tornado 5.1.1
- Working with Asynchronous Code, Testing, and Deploying an API with Tornado
โฆ Subjects
Databases; Python; Web Applications; Asynchronous Programming; Relational Databases; PostgreSQL; Microservices; JSON; Deployment; Flask; SQLAlchemy; Django; Testing; Tornado; RESTful API; Pyramid
๐ SIMILAR VOLUMES
<p><b>Design, build and test RESTful web services with the Django framework and Python</b></p><h4>Key Features</h4><ul><li>Create efficient real-world RESTful web services with the latest Django framework</li><li>Authenticate, secure, and integrate third-party packages efficiently in your Web Servic
<p>Develop RESTful web services using the Flask micro-framework and integrate them using MySQL. Use Flask to develop, deploy, and manage REST APIs with easy-to-read and understand Python code. Solve your problem from a choice of libraries. Learn to use MySQL as the web services database for your Fla
Create web services that are lightweight, maintainable, scalable, and secure using the best tools and techniques designed for Python About This Book Develop RESTful Web Services using the most popular frameworks in Python Configure and fine-tune your APIs using the best tools and techniques availabl
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 serves the purpose of building great web services in the RESTful architecture. This book will show you the best tools you can use to
<p><b>A step-by-step guide that will help you design, develop, scale, and deploy RESTful APIs with TypeScript 3 and Node.js</b></p> Key Features <li>Gain in-depth knowledge of OpenAPI and Swagger to build scalable web services </li> <li>Explore a variety of test frameworks and test runners such as S