Book

Python Web Development with Sanic

With this book, you’ll gain the practical knowledge you need to work with Sanic to increase the performance of your web applications. You’ll learn to customize your application to meet changing business needs without having to significantly over-engineer your solutions.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

16h48m

Language

English

About Book

Who Is This Book For?

This book is for Python web developers who have basic to intermediate-level knowledge of how web technologies work and are looking to take their applications to the next level using the power of the Sanic framework. Working knowledge of Python web development along with frameworks such as Django and/or Flask will be helpful but is not required. A basic to intermediate-level understanding of Python 3, HTTP, RESTful API patterns, and modern development practices and tools, such as type annotations, pytest, and virtual environments will also be beneficial.

Book content

chapters 16h48m total length

Introduction to Sanic and Async Frameworks

Organizing a Project

Routing and Intaking HTTP Requests

Ingesting HTTP Data

Building Response Handlers

Operating Outside the Response Handler

Dealing with Security Concerns

Running a Sanic Server

Best Practices to Improve Your Web Applications

Implementing Common Use Cases with Sanic

A Complete Real-World Example

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required