A Flask auto importer that allows your Flask apps to grow big.
Project description
Flask-Imp
What is Flask-Imp?
Flask-Imp's main purpose is to help simplify the importing of blueprints, resources, and models. It has a few extra features built in to help with securing pages and password authentication.
Documentation
https://cheesecake87.github.io/Flask-Imp/
Getting Started
Setup.
Create a new project folder and navigate to it.
# Linux
cd /path/to/project-folder
# Windows
cd C:\path\to\project-folder
Create a virtual environment and activate it.
Linux / MacOS
python3 -m venv venv
source venv/bin/activate
Windows
python -m venv venv
.\venv\Scripts\activate
Install Flask-Imp
pip install flask-imp
Create a new project.
flask-imp init
Working on this project.
Setup.
Create a new project folder and navigate to it in the terminal, then clone this repository.
git clone https://github.com/CheeseCake87/Flask-Imp.git
Create a virtual environment and activate it.
Linux / MacOS
python3 -m venv venv
source venv/bin/activate
Windows
python -m venv venv
.\venv\Scripts\activate
Install the requirements.
pip install -r requirements.txt
pip install -r requirements_dev.txt
Install the local version of Flask-Imp.
pip install -e .
Run the included Flask app.
Flask run --debug
Run the tests.
pytest
Run the tests under multiple Python versions using docker.
python3 test_docker
Info
The Flask app is located in the app
folder.
The test Flask app is located in the test_app
folder.
The tests are located in the tests
folder.
The tests are linked to the tests blueprint located at test_app/blueprints/tests
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for flask_imp-2.7.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cead436e49892e8b65409de4113df94edef83b457b8d09479c82a592eae3c08b |
|
MD5 | edab9c2bdd23ef723f13393eb2018172 |
|
BLAKE2b-256 | d7ddc5357d00f4df677a8f26acc1b3c834580adeedf9026b8580093238101f10 |