AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Flask cheat sheet3/10/2024 Classified as a microframework, Flask aims to keep the core of its framework small but highly extensible.ģ# - Creating an isolated environment $ python -m venv flask_envĪctivate virtual environment $ source flask_env/bin/activateĭeactivate virtual environment $ deactivateĤ# - A super simple Flask app from flask import FlaskĪpp = def hello (): return f'Hello from Flask!'ĥ# - Start the app $ env FLASK_APP=hello.py flask runĬreate a new config file in the project root:Īdd content using OOP and class inheritance class BaseCfg (object): It is designed to make getting started quick and easy, with the ability to scale up to complex applications. Flask Pixel UI Kit - simple Flask starter (open-source)įlask is a lightweight WSGI web application framework.Flask Argon Dashboard - just another free Flask admin dashboard.Flask Volt Bootstrap 5 - a Bootstrap 5 design now available in Flask.Datta Able Flask - open-source Flask Dashboard.Sometimes classified as a microframework, Flask provides a lightweight codebase that can be easily extended to become an API, a simple web app, or a complex eCommerce platform. For newcomers, Flask is a lightweight web application framework written in Python. ![]() This article is just another Flask Cheat Sheet that might help beginners to speed up their learning curve and the rest of our audience with some nice production-ready samples.
0 Comments
Read More
Leave a Reply. |