Mastering Flask Web Development, published by Packt
This is the code repository for Mastering Flask Web Development, published by Packt.
Build enterprise-grade, scalable Python web applications
Flask is a popular Python framework known for its lightweight and modular design. Mastering Flask Web Development will take you on a complete tour of the Flask environment and teach you how to build a production-ready application.
This book covers the following exciting features:
-
Develop a Flask extension using best practices
-
Implement various authentication methods: LDAP, JWT, Database, OAuth, and OpenID
-
Learn how to develop role-based access security and become an expert on Jinja2 templates
-
Build tests for your applications and APIs
-
Install and configure a distributed task queue using Celery and RabbitMQ
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
from flask import g
....
# Set some key with some value on a request context
g.some_key = "some_value"
# Get a key
v = g.some_key
# Get and remove a key
v = g.pop('some_key', "default_if_not_present")
Following is what you need for this book: Copy and paste the Audience section from the EPIC.
With the following software and hardware list you can run all code files present in the book (Chapter 1-13).
Chapter | Software required | OS required |
---|---|---|
1 - 13 | Python | Windows, Mac OS X, and Linux (Any) |
Daniel Gaspar is a programmer and DevOps engineer with more than 20 years' experience. He has worked in a wide range of sectors, including government and finance. He is currently working at Miniclip (the global leader in digital games). He uses a wide range of tools in his daily work, but Flask caught his attention because of its excellently designed API and simplicity. Daniel is an OSS and Python enthusiast, and has developed a widely used extension/framework named Flask-AppBuilder, used by Airbnb on Superset and AirFlow.
Click here if you have any feedback or suggestions.