Giter VIP home page Giter VIP logo

bookstore-management-topic's Introduction

Python Flask Tutorial

image

Flask is a very lightweight Python Web Framework, easily helping beginners learn Python to create small websites.

image

Flask-Security allows you to quickly add common security mechanisms to your Flask application. Many of these features are made possible by integrating various Flask extensions and libraries. They include:

  • Flask-Login
  • Flask-Mailman
  • Flask-Principal
  • Flask-WTF
  • itsdangerous
  • passlib
  • QRCode
  • webauthn
  • authlib

Installation

Use the package manager pip to install foobar.

pip install flask

Usage

# Create an environment
> python -m venv .venv
> .venv\Scripts\activate

# setup file, setup debug rerender, and flask run or python fileName.py
> set FLASK_APP=run.py
# Debugger is active!
> set FLASK_DEBUG=1
> python -m flask run
# or
> python run.py

# to open the interpreter
python
>>> import flask
>>> exit()

License

  1. Activate virtual env (.venv\Scripts\activate)

  2. Go to your project root directory

  3. Get all the packages along with dependencies in requirements.txt

pip freeze > requirements.txt
  1. You don't have to worry about anything else apart from making sure next person installs the requirements recursively by following command
pip install -r requirements.txt

bookstore-management-topic's People

Contributors

hobaotrung avatar huyapi2707 avatar nguyenhhkiet avatar

Stargazers

 avatar  avatar

Watchers

 avatar

bookstore-management-topic's Issues

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.