11/16/2023 0 Comments Flask blueprint request library![]() Flask-Migrate is an extension that handles SQLAlchemy database migrations for Flask applications using Alembic.Flask-WTF is a simple integration of Flask and WTForms that helps you create forms in Flask.Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application.It handles the common tasks of logging in, logging out, and remembering your users’ sessions over extended periods of time. Flask-Login provides user session management for Flask.Flask is a simple, easy-to-use microframework for Python that helps you build scalable and secure web applications.To verify if the environment has been activated or not, you can see (env) in your terminal. Now, we need to activate the environment using this command: source env/Scripts/activate The above command will create a virtual environment named env. So, to create a virtual environment, you can use the below command: python -m venv env Python now ships with a pre-installed venv library. We are going to create a virtual environment using venv. Let's learn more about them and install them one by one.īut before we install them, let's create a virtual environment and activate it.įirst, start with creating the project directory and navigating to it like this: mkdir flask-basic-auth You'll need a few external libraries in this project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |