Flask Framework Cookbook

Flask Framework Cookbook Book in PDF, ePub and Kindle version is available to download in english. Read online anytime anywhere directly from your device. Click on the download button below to get a free pdf file of Flask Framework Cookbook book. This book definitely worth reading, it is an incredibly well-written.

Flask Framework Cookbook

Author : Shalabh Aggarwal
Publisher : Packt Publishing Ltd
Page : 486 pages
File Size : 41,5 Mb
Release : 2014-11-21
Category : Computers
ISBN : 9781783983414

Get Book

Flask Framework Cookbook by Shalabh Aggarwal Pdf

If you are a web developer who wants to learn more about developing applications in Flask and scale them with industry-standard practices, this is the book for you. This book will also act as a handy tool if you are aware of Flask's major extensions and want to make the best use of them. It is assumed that you have knowledge of Python and a basic understanding of Flask. If you are completely new to Flask, reading the book from the first chapter and going forward will help in getting acquainted with Flask as you go ahead.

Flask Framework Cookbook

Author : Shalabh Aggarwal
Publisher : Packt Publishing Ltd
Page : 318 pages
File Size : 40,8 Mb
Release : 2023-07-28
Category : Computers
ISBN : 9781804610008

Get Book

Flask Framework Cookbook by Shalabh Aggarwal Pdf

Design and deploy robust state-of-the-art web applications using Flask 2.x and Python 3 frameworks and libraries for streamlined development and optimal performance Purchase of the print or Kindle book includes a free PDF eBook Key Features A practical and rich companion guide for web developers, offering real-world situations and use cases to learn Flask Get the most out of the powerful Flask framework while preserving the flexibility of your design choices Write cleaner, testable, and maintainable code with the help of sample apps Book DescriptionDiscover what makes Flask, the lightweight Python web framework, popular, as you delve into its modular design that enables the development of scalable web apps. With this practical guide, you'll explore modern solutions, recommended design patterns, and best practices for Flask web development. Updated to the latest version of Flask and Python, this third edition of the Flask Framework Cookbook moves away from the outdated libraries, updates content to incorporate new coding patterns, and introduces recipes for the latest tools. You'll explore different ways to integrate with GPT to build AI-ready Flask applications. The book starts with an exploration of Flask application configurations and then guides you through working with templates and understanding the ORM and view layers. You’ll also be able to write an admin interface and get to grips with testing using the factory pattern, debugging, and logging errors. Then you’ll discover different ways of using Flask to create, deploy, and manage microservices using AWS, GCP, and Kubernetes. Finally, you’ll gain insights into various deployment and post-deployment techniques for platforms such as Apache, Tornado, and Datadog. By the end of this book, you'll have acquired the knowledge necessary to write Flask applications that cater to a wide range of use cases in the best possible way and scale them using standard industry practices.What you will learn Explore advanced templating and data modeling techniques Discover effective debugging, logging, and error-handling techniques in Flask Work with different types of databases, including RDBMS and NoSQL Integrate Flask with different technologies such as Redis, Sentry, and Datadog Deploy and package Flask applications with Docker and Kubernetes Integrate GPT with your Flask application to build future-ready platforms Implement continuous integration and continuous deployment (CI/CD) to ensure efficient and consistent updates to your Flask web applications Who this book is forIf you are a web developer seeking to expand your knowledge of developing scalable and production-ready applications in Flask, this is the book for you. It is also highly valuable if you are already aware of Flask's major extensions and want to leverage them for better application development. This book will come handy as a quick reference for specific topic on Flask, its popular extensions, or specific use cases. It assumes basic Python programming experience, as well as familiarity with web development and related terminology.

Flask Framework Cookbook

Author : Shalabh Aggarwal
Publisher : Packt Publishing Ltd
Page : 291 pages
File Size : 54,9 Mb
Release : 2019-07-17
Category : Computers
ISBN : 9781789953169

Get Book

Flask Framework Cookbook by Shalabh Aggarwal Pdf

Build state-of-the-art web applications quickly and efficiently using Flask and related technologies with Python 3 Key FeaturesUpdated to Flask 1.0.3 and Python 3.7 with coverage of MicroservicesGet the most out of the powerful Flask framework and maintain the flexibility of your design choicesWrite cleaner and maintainable code with the help of sample appsBook Description Flask, the lightweight Python web framework, is popular due to its powerful modular design that lets you build scalable web apps. With this recipe-based guide, you’ll explore modern solutions and best practices for Flask web development. Updated to the latest version of Flask and Python 3, this second edition of Flask Framework Cookbook moves away from some of the old and obsolete libraries and introduces recipes on bleeding edge technologies. You’ll discover different ways of using Flask to create, deploy, and manage microservices. This Flask Python book starts by covering the different configurations that a Flask application can make use of, and then helps you work with templates and learn about the ORM and view layers. You’ll also be able to write an admin interface and get to grips with debugging and logging errors. Finally, you’ll grasp a variety of deployment and post-deployment techniques for platforms such as Apache, Tornado, and Heroku. By the end of this book, you’ll have gained all the knowledge you need to write Flask applications in the best possible way and scale them using standard industry practices. What you will learnExplore web application development in Flask, right from installation to post-deployment stagesMake use of advanced templating and data modeling techniquesDiscover effective debugging, logging, and error handling techniques in FlaskIntegrate Flask with different technologies such as Redis, Sentry, and MongoDBDeploy and package Flask applications with Docker and KubernetesDesign scalable microservice architecture using AWS LambdaContinuous integration and Continuous deploymentWho this book is for If you are a web developer who wants to learn more about developing scalable and production-ready applications in Flask, this is the book for you. You’ll also find this book useful if you are already aware of Flask's major extensions and want to use them for better application development. Basic Python programming experience along with basic understanding of Flask is assumed.

Flask Framework Cookbook

Author : Alexander Aronowitz
Publisher : Independently Published
Page : 114 pages
File Size : 51,6 Mb
Release : 2021-08-24
Category : Electronic
ISBN : 9798463234803

Get Book

Flask Framework Cookbook by Alexander Aronowitz Pdf

Flask is a web development framework developed in Python. It is easy to learn and use. Flask is "beginner-friendly" because it does not have boilerplate code or dependencies, which can distract from the primary function of an application. Flask originated in 2004 when a developer named Armin Ronacher created it as an April Fool's joke. However, it quickly gained popularity in the open-source community anyway. Consequently, it developed into a popular open-source project and gained a massive following, which it maintains today. Some features which make Flask an ideal framework for web application development are: Flask provides a development server and a debugger. It uses Jinja2 templates. It is compliant with WSGI 1.0. It provides integrated support for unit testing. Many extensions are available for Flask, which can be used to enhance its functionalities.

Flask Framework Cookbook - Third Edition: Enhance Your Flask Skills with Advanced Techniques and Build Dynamic, Responsive Web Applications

Author : Shalabh Aggarwal
Publisher : Packt Publishing
Page : 0 pages
File Size : 49,7 Mb
Release : 2023-07
Category : Computers
ISBN : 1804611107

Get Book

Flask Framework Cookbook - Third Edition: Enhance Your Flask Skills with Advanced Techniques and Build Dynamic, Responsive Web Applications by Shalabh Aggarwal Pdf

Design and deploy robust state-of-the-art web applications using Flask 2.x and Python 3 frameworks and libraries for streamlined development and optimal performance Purchase of the print or Kindle book includes a free PDF eBook Key Features: A practical and rich companion guide for web developers, offering real-world situations and use cases to learn Flask Get the most out of the powerful Flask framework while preserving the flexibility of your design choices Write cleaner, testable, and maintainable code with the help of sample apps Book Description: Discover what makes Flask, the lightweight Python web framework, popular, as you delve into its modular design that enables the development of scalable web apps. With this practical guide, you'll explore modern solutions, recommended design patterns, and best practices for Flask web development. Updated to the latest version of Flask and Python, this third edition of the Flask Framework Cookbook moves away from the outdated libraries, updates content to incorporate new coding patterns, and introduces recipes for the latest tools. You'll explore different ways to integrate with GPT to build AI-ready Flask applications. The book starts with an exploration of Flask application configurations and then guides you through working with templates and understanding the ORM and view layers. You'll also be able to write an admin interface and get to grips with testing using the factory pattern, debugging, and logging errors. Then you'll discover different ways of using Flask to create, deploy, and manage microservices using AWS, GCP, and Kubernetes. Finally, you'll gain insights into various deployment and post-deployment techniques for platforms such as Apache, Tornado, and Datadog. By the end of this book, you'll have acquired the knowledge necessary to write Flask applications that cater to a wide range of use cases in the best possible way and scale them using standard industry practices. What You Will Learn: Explore advanced templating and data modeling techniques Discover effective debugging, logging, and error-handling techniques in Flask Work with different types of databases, including RDBMS and NoSQL Integrate Flask with different technologies such as Redis, Sentry, and Datadog Deploy and package Flask applications with Docker and Kubernetes Integrate GPT with your Flask application to build future-ready platforms Implement continuous integration and continuous deployment (CI/CD) to ensure efficient and consistent updates to your Flask web applications Who this book is for: If you are a web developer seeking to expand your knowledge of developing scalable and production-ready applications in Flask, this is the book for you. It is also highly valuable if you are already aware of Flask's major extensions and want to leverage them for better application development. This book will come handy as a quick reference for specific topic on Flask, its popular extensions, or specific use cases. It assumes basic Python programming experience, as well as familiarity with web development and related terminology.

Learning Flask Framework

Author : Matt Copperwaite,Charles Leifer
Publisher : Packt Publishing Ltd
Page : 250 pages
File Size : 46,9 Mb
Release : 2015-11-26
Category : Computers
ISBN : 9781783983377

Get Book

Learning Flask Framework by Matt Copperwaite,Charles Leifer Pdf

Build dynamic, data-driven websites and modern web applications with Flask About This Book Discover the most popular Flask resources on the web with ease Familiarize yourself with third-party libraries commonly used with Flask Create a fast, interactive, and secure web app with this hands-on guide Who This Book Is For This book is for anyone who wants to develop their knowledge of Python into something that can be used on the web. Flask follows the Python design principles and can be easily understood by anyone who knows Python, and even by those who do not. What You Will Learn Create your web pages to add modularity and flexibility to your web app using templates Store and retrieve relational data using SQLAlchemy Develop schema migrations with Alembic Produce an admin section using flask-admin Build RESTful APIs using Flask-Restless Simulate requests and sessions using the Flask test client Make Ajax requests from Jinja2 templates In Detail Flask is a small and powerful web development framework for Python. It does not presume or force a developer to use a particular tool or library. Flask supports extensions that can add application features as if they were implemented in Flask itself. Flask's main task is to build web applications quickly and with less code. With its lightweight and efficient web development framework, Flask combines rapid development and clean, simple design. This book will take you through the basics of learning how to apply your knowledge of Python to the web. Starting with the creation of a “Hello world” Flask app, you will be introduced to the most common Flask APIs and Flask's interactive debugger. You will learn how to store and retrieve blog posts from a relational database using an ORM and also to map URLs to views. Furthermore, you will walk through template blocks, inheritance, file uploads, and static assets. You will learn to authenticate users, build log in/log out functionality, and add an administrative dashboard for the blog. Moving on, you will discover how to make Ajax requests from the template and see how the Mock library can simplify testing complex interactions. Finally, you will learn to deploy Flask applications securely and in an automated, repeatable manner, and explore some of the most popular Flask resources on the web. Style and approach A comprehensive guide packed with real-world examples and popular use cases; starting with basic overviews and diving into the practical aspects of Flask Framework.

Mastering Flask Web Development

Author : Daniel Gaspar,Jack Stouffer
Publisher : Packt Publishing Ltd
Page : 332 pages
File Size : 47,9 Mb
Release : 2018-10-31
Category : Computers
ISBN : 9781788999557

Get Book

Mastering Flask Web Development by Daniel Gaspar,Jack Stouffer Pdf

Learn to build modern, secure, highly available web MVC applications and API’s using Python`s Flask framework. Key FeaturesCreate production-ready MVC and REST API with the dynamic features of FlaskUtilize the various extensions like Flask-JWT and Flask-SQLAlchemy to develop powerful applicationsDeploy your flask application on real-world platforms like AWS and Heroku on VM’s or Docker containersBook Description 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. You'll begin by learning about the installation of Flask and basic concepts such as MVC and accessing a database using an ORM. You will learn how to structure your application so that it can scale to any size with the help of Flask Blueprints. You'll then learn how to use Jinja2 templates with a high level of expertise. You will also learn how to develop with SQL or NoSQL databases, and how to develop REST APIs and JWT authentication. Next, you'll move on to build role-based access security and authentication using LDAP, OAuth, OpenID, and database. Also learn how to create asynchronous tasks that can scale to any load using Celery and RabbitMQ or Redis. You will also be introduced to a wide range of Flask extensions to leverage technologies such as cache, localization, and debugging. You will learn how to build your own Flask extensions, how to write tests, and how to get test coverage reports. Finally, you will learn how to deploy your application on Heroku and AWS using various technologies, such as Docker, CloudFormation, and Elastic Beanstalk, and will also learn how to develop Jenkins pipelines to build, test, and deploy applications. What you will learnDevelop a Flask extension using best practicesImplement various authentication methods: LDAP, JWT, Database, OAuth, and OpenIDLearn how to develop role-based access security and become an expert on Jinja2 templatesBuild tests for your applications and APIsInstall and configure a distributed task queue using Celery and RabbitMQDevelop RESTful APIs and secure REST API'sDeploy highly available applications that scale on Heroku and AWS using Docker or VMsWho this book is for The ideal target audience for this book would be Python developers who want to use Flask and its advanced features to create Enterprise grade and lightweight applications. The book is for those who have some exposure of Flask and want to take it from introductory to master level.

Flask Web Development

Author : Miguel Grinberg
Publisher : "O'Reilly Media, Inc."
Page : 316 pages
File Size : 40,5 Mb
Release : 2018-03-05
Category : Computers
ISBN : 9781491991695

Get Book

Flask Web Development by Miguel Grinberg Pdf

Take full creative control of your web applications with Flask, the Python-based microframework. With the second edition of this hands-on book, you’ll learn the framework from the ground up by developing, step-by-step, a real-world project created by author Miguel Grinberg. This refreshed edition accounts for important technology changes that have occurred in the past three years. You’ll learn the framework’s core functionality, as well as how to extend applications with advanced web techniques such as database migration and web service communication. The first part of each chapter provides you with reference and background for the topic in question, while the second part guides you though a hands-on implementation of the topic. If you have Python experience, this book shows you how to take advantage of the creative freedom Flask provides.

Building Web Apps with Python and Flask

Author : Malhar Lathkar
Publisher : BPB Publications
Page : 275 pages
File Size : 52,7 Mb
Release : 2021-03-12
Category : Computers
ISBN : 9789389898835

Get Book

Building Web Apps with Python and Flask by Malhar Lathkar Pdf

A practical guide for the rapid web application development with Flask KEY FEATURESÊ _ Expert-led coverage of core capabilities of Flask, key extensions and its implementation.Ê _ Explore the Werkzeug toolkit andÊ Jinja Template engine and see how FlaskÊ interacts with JavaScript and CSS. _ Detailed modules on building and deploying RESTful applications using Flask. Ê DESCRIPTIONÊ This book teaches the reader the complete workflow of developing web applications using Python and its most outperforming microframework, Flask. The book begins with getting you up to speed in developing a strong understanding of the web application development process and how Python is used in developing the applications. You will learn how to write your own first Flask-based web application in Python. You will learn about web gateway interfaces, including CGI and WSGI along with various tools like the Jinja 2 engine, Werkzeug toolkit, and Click toolkit.Ê You will learn and practice the core features of Flask such as URL routing, rendering, handling static assets of a web application, how to handle cookies and sessions, and other HTTP objects. Once you have developed a strong knowledge of Flask, you will now dive deeper into advanced topics that includes Flask extensions for working with relational and NoSQL databases, Flask_WTF, and Flask-Bootstrap. You will explore design patterns, various blueprints on how to build modular and scalable applications, and finally how to deploy the RESTful APIs successfully on your own. WHAT YOU WILL LEARNÊÊ _ Get to know everything about the core capabilities of Flask. _ Understand the basic building blocks of Flask. _ Get familiar with advanced features of Flask, including blueprints, Flask extensions, and database connectivity. _ Get ready to design your own Flask-based web applications and RESTful APIs. _ Learn to build modular and scalable applications and how to deploy them successfully. WHO THIS BOOK IS FORÊÊÊ This book is ideal for Python enthusiasts, open source contributors, and web app developers who intend to add Python web technologies in their skillsets and startup companies. The understanding of the core Python language with intermediate level expertise is required and experience of working with SQL, HTML, CSS, and JavaScript is an added advantage. TABLE OF CONTENTS 1. Python for CGI 2. WSGI 3. Flask Fundamentals 4. URL Routing 5. Rendering Templates 6. Static Files 7. HTTP Objects 8. Using Databases 9. More Flask Extensions 10. Blueprints and Contexts 11. Web API with Flask 12. Deploying Flask Applications 13. Appendix

Modern Python Cookbook

Author : Steven F. Lott
Publisher : Packt Publishing Ltd
Page : 686 pages
File Size : 42,7 Mb
Release : 2016-11-30
Category : Computers
ISBN : 9781786463845

Get Book

Modern Python Cookbook by Steven F. Lott Pdf

The latest in modern Python recipes for the busy modern programmer About This Book Develop succinct, expressive programs in Python Learn the best practices and common idioms through carefully explained and structured recipes Discover new ways to apply Python for the new age of development Who This Book Is For The book is for web developers, programmers, enterprise programmers, engineers, big data scientist, and so on. If you are a beginner, Python Cookbook will get you started. If you are experienced, it will expand your knowledge base. A basic knowledge of programming would help. What You Will Learn See the intricate details of the Python syntax and how to use it to your advantage Improve your code readability through functions in Python Manipulate data effectively using built-in data structures Get acquainted with advanced programming techniques in Python Equip yourself with functional and statistical programming features Write proper tests to be sure a program works as advertised Integrate application software using Python In Detail Python is the preferred choice of developers, engineers, data scientists, and hobbyists everywhere. It is a great scripting language that can power your applications and provide great speed, safety, and scalability. By exposing Python as a series of simple recipes, you can gain insight into specific language features in a particular context. Having a tangible context helps make the language or standard library feature easier to understand. This book comes with over 100 recipes on the latest version of Python. The recipes will benefit everyone ranging from beginner to an expert. The book is broken down into 13 chapters that build from simple language concepts to more complex applications of the language. The recipes will touch upon all the necessary Python concepts related to data structures, OOP, functional programming, as well as statistical programming. You will get acquainted with the nuances of Python syntax and how to effectively use the advantages that it offers. You will end the book equipped with the knowledge of testing, web services, and configuration and application integration tips and tricks. The recipes take a problem-solution approach to resolve issues commonly faced by Python programmers across the globe. You will be armed with the knowledge of creating applications with flexible logging, powerful configuration, and command-line options, automated unit tests, and good documentation. Style and approach This book takes a recipe-based approach, where each recipe addresses specific problems and issues. The recipes provide discussions and insights and an explanation of the problems.

Building Web Applications with Flask

Author : Italo Maia
Publisher : Packt Publishing Ltd
Page : 160 pages
File Size : 55,7 Mb
Release : 2015-06-26
Category : Computers
ISBN : 9781784390549

Get Book

Building Web Applications with Flask by Italo Maia Pdf

Flask is a powerful web framework that helps you build great projects using your favorite tools. Flask takes the flexible Python programming language and provides a simple template for web development. Once imported into Python, Flask can be used to save time building web applications. It goes against the flow with the microframework concept, leaving most of the architecture choices to the developer. Through its great API, extensions, and powerful patterns, Flask helps you create simple projects in minutes and complex ones as soon as possible. From the beginning, Building Web Applications with Flask shows you how to utilize Flask's concepts, extensions, and components to create engaging, full-featured web projects. You'll learn how to properly handle forms using WTForms, devise convenient templates with Jinja2 tags and macros, use NoSQL and SQL databases to store user data, test your projects with features and unit tests, create powerful authentication and user authorization, as well as administrative interfaces with ease, and more. As Flask does not enforce an architectural recipe, neither do we! This book makes no coding assumptions on how you should code, leaving you free to experiment.

Beyond the Basic Stuff with Python

Author : Al Sweigart
Publisher : No Starch Press
Page : 385 pages
File Size : 50,5 Mb
Release : 2020-12-16
Category : Computers
ISBN : 9781593279660

Get Book

Beyond the Basic Stuff with Python by Al Sweigart Pdf

BRIDGE THE GAP BETWEEN NOVICE AND PROFESSIONAL You've completed a basic Python programming tutorial or finished Al Sweigart's bestseller, Automate the Boring Stuff with Python. What's the next step toward becoming a capable, confident software developer? Welcome to Beyond the Basic Stuff with Python. More than a mere collection of advanced syntax and masterful tips for writing clean code, you'll learn how to advance your Python programming skills by using the command line and other professional tools like code formatters, type checkers, linters, and version control. Sweigart takes you through best practices for setting up your development environment, naming variables, and improving readability, then tackles documentation, organization and performance measurement, as well as object-oriented design and the Big-O algorithm analysis commonly used in coding interviews. The skills you learn will boost your ability to program--not just in Python but in any language. You'll learn: Coding style, and how to use Python's Black auto-formatting tool for cleaner code Common sources of bugs, and how to detect them with static analyzers How to structure the files in your code projects with the Cookiecutter template tool Functional programming techniques like lambda and higher-order functions How to profile the speed of your code with Python's built-in timeit and cProfile modules The computer science behind Big-O algorithm analysis How to make your comments and docstrings informative, and how often to write them How to create classes in object-oriented programming, and why they're used to organize code Toward the end of the book you'll read a detailed source-code breakdown of two classic command-line games, the Tower of Hanoi (a logic puzzle) and Four-in-a-Row (a two-player tile-dropping game), and a breakdown of how their code follows the book's best practices. You'll test your skills by implementing the program yourself. Of course, no single book can make you a professional software developer. But Beyond the Basic Stuff with Python will get you further down that path and make you a better programmer, as you learn to write readable code that's easy to debug and perfectly Pythonic Requirements: Covers Python 3.6 and higher

Modern Python Cookbook

Author : Steven F. Lott
Publisher : Packt Publishing Ltd
Page : 823 pages
File Size : 41,6 Mb
Release : 2020-07-31
Category : Computers
ISBN : 9781800205802

Get Book

Modern Python Cookbook by Steven F. Lott Pdf

Python is a great language that can power your applications with great speed, safety, and scalability. We cover 133 Python recipes. This book simplifies Python for everybody, right from beginners to experts. All recipes take a problem-solution approach to resolve issues commonly faced by Python programmers across the globe.

Building REST APIs with Flask

Author : Kunal Relan
Publisher : Apress
Page : 209 pages
File Size : 53,6 Mb
Release : 2019-09-12
Category : Computers
ISBN : 9781484250228

Get Book

Building REST APIs with Flask by Kunal Relan Pdf

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 Flask API using SQLAlchemy ORM. Building REST APIs with Flask provides a primer on Flask, RESTful services, and working with pip to set up your virtual environment. The key differences between NoSQL and SQL are covered, and you are taught how to connect MySQL and Flask using SQLAlchemy. Author Kunal Relan presents best practices for creating REST APIs and guides you in structuring your app and testing REST endpoints. He teaches you how to set up authentication and render HTML using views. You learn how to write unit tests for your REST APIs, and understand mocks, assertions, and integration testing. You will know how to document your REST APIs, deploy your Flask application on all of the major cloud platforms, and debug and monitor your Flask application. What You'll LearnUse MySQL to create Flask REST APIs Test REST endpoints Create CRUD endpoints with Flask and MySQL Deploy Flask on all of the major cloud platforms Monitor your Flask application Who This Book Is For Python developers interested in REST API development using Flask and web developers with basic programming knowledge who want to learn how Python and REST APIs work together. Readers should be familiar with Python (command line, or at least pip) and MySQL.

Mastering Flask

Author : Jack Stouffer
Publisher : Packt Publishing Ltd
Page : 288 pages
File Size : 51,6 Mb
Release : 2015-09-30
Category : Computers
ISBN : 9781784391928

Get Book

Mastering Flask by Jack Stouffer Pdf

Gain expertise in Flask to create dynamic and powerful web applications About This Book Work with scalable Flask application structures to create complex web apps Discover the most powerful Flask extensions and learn how to create one Deploy your application to real-world platforms using this step-by-step guide Who This Book Is For If you are a Flask user who knows the basics of the library and how to create basic web pages with HTML and CSS, and you want to take your applications to the next level, this is the book for you. Harnessing the full power of Flask will allow you to create complex web applications with ease. What You Will Learn Set up a best practices Python environment Use SQLAlchemy to programmatically query a database Develop templates in Jinja Set up an MVC environment for Flask Discover NoSQL, when to use it, when not to, and how to use it Develop a custom Flask extension Use Celery to create asynchronous tasks In Detail Flask is a library that allows programmers to create web applications in Python. Flask is a micro-framework that boasts a low learning curve, a large community, and the power to create complex web apps. However, Flask is easy to learn but difficult to master. Starting from a simple Flask app, this book will walk through advanced topics while providing practical examples of the lessons learned. After building a simple Flask app, a proper app structure is demonstrated by transforming the app to use a Model-View-Controller (MVC) architecture. With a scalable structure in hand, the next chapters use Flask extensions to provide extra functionality to the app, including user login and registration, NoSQL querying, a REST API, an admin interface, and more. Next, you'll discover how to use unit testing to take the guesswork away from making sure the code is performing as it should. The book closes with a discussion of the different platforms that are available to deploy a Flask app on, the pros and cons of each one, and how to deploy on each one. Style and approach With plenty of useful examples, this guide introduces new concepts and then shows you how those concepts can be used in a real-world environment. Most sections are based around a single example app that is developed throughout the book.