Best Flask open-source libraries and packages

Updated 1 year ago

Uranus Middleware

Build Status flake8 yapf

The middleware of Project Uranus based on flask-restful.

Build

The project is using Poetry as the dependency management tool.

To install Poetry, please use the following script as recommended.

curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python

Then install the dependencies.

poetry install

Run

Enter virtual environment then run the Flask application.

python -m uranus_middleware.app

Configuration

Visual Studio Code

In .vscode/settings.json:

// lint
"python.linting.enabled": true,
"python.linting.lintOnSave": true,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,

// format
"python.formatting.provider": "yapf",
"[python]": {
    "editor.formatOnSave": true,
},

// testing
"python.testing.pytestEnabled": true,

License

MIT