Coder Social home page Coder Social logo

aploessl / flask-framework-cookbook-second-edition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packtpublishing/flask-framework-cookbook-second-edition

0.0 0.0 0.0 93 KB

Flask Framework Cookbook - Second Edition, published by Packt

License: MIT License

Python 68.57% CSS 0.57% HTML 30.71% Dockerfile 0.10% Procfile 0.06%

flask-framework-cookbook-second-edition's Introduction

Flask Framework Cookbook

Flask Framework Cookbook

This is the code repository for Flask Framework Cookbook, published by Packt.

Over 80 proven recipes and techniques for Python web development with Flask

What is this book about?

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.

This book covers the following exciting features:

  • Explore web application development in Flask, right from installation to post-deployment stages
  • Make use of advanced templating and data modeling techniques
  • Discover effective debugging, logging, and error handling techniques in Flask
  • Integrate Flask with different technologies such as Redis, Sentry, and MongoDB
  • Deploy and package Flask applications with Docker and Kubernetes

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

from flask import Flask 
app = Flask(__name__) 
 
@app.route('/') 
def hello_world(): 
    return 'Hello to the World of Flask!' 
 
if __name__ == '__main__': 
    app.run() 

Following is what you need for this book:

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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-13).

Software and Hardware List

Chapter Software required OS required
1 Flask, Virtualenv, virtualenvwrapper Windows, Mac OS X, and Linux (Any)
2 Twitter Bootstrap, ccy, Moment.js Windows, Mac OS X, and Linux (Any)
3 Flask-sqlalchemy, requests, Windows, Mac OS X, and Linux (Any)
Redis, Flask-Migrate, Flask-mongoengine,
4 - -
5 Wtforms, Flask-WTF Windows, Mac OS X, and Linux (Any)
6 Flask-Login, pyOpenSSL, Flask-Dance, Windows, Mac OS X, and Linux (Any)
python-ldap
7 Flask-Restful, requests Windows, Mac OS X, and Linux (Any)
8 Flask-Admin, CKEditor.js Windows, Mac OS X, and Linux (Any)
9 Flask-Babel Windows, Mac OS X, and Linux (Any)
10 sentry-sdk, Nose, geoip2, Coverage Windows, Mac OS X, and Linux (Any)
11 mod_wsgi, Nginx, uwsgi, gunicorn, Windows, Mac OS X, and Linux (Any)
supervisor, Tornado, boto3, newrelic,
Heroku CLI, AWS Elastic Beanstalk setup
12 Docker, Minikube, zappa Windows, Mac OS X, and Linux (Any)
13 Flask-WhooshAlchemy, elasticsearch python Windows, Mac OS X, and Linux (Any)
library, Elasticsearch, Flask-Caching,
Flask-Mail, Celery

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Shalabh Aggarwal has more than 10 years' experience in developing and managing enterprise systems, as well as web and mobile applications for small-to large-scale industries. He started his career working on Python, and although he now works on multiple technologies, he remains a Python developer at heart. He is passionate about open source technologies and writes highly readable and quality code. He is also active in voluntary training for engineering students on non-conventional and open source topics. When not working with full-time assignments, he consults for start-ups on leveraging different technologies. When not writing code, he writes technical and nontechnical literature, which is published across multiple blogs.

Other books by the authors

Suggestions and Feedback

Click here if you have any feedback or suggestions.

flask-framework-cookbook-second-edition's People

Contributors

jane-25 avatar packt-itservice avatar packtutkarshr avatar shalabhaggarwal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.