koii 1.0.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

koii 1.0.1

KOII


Python module for displaying routes in a flask application. This is a python variant for Koii. It's a simple to use flask middleware that simply prints all the routes in a Flask application on the console.
Installation
Koii is easy to install - it currently can be installed using the pip or pipenv command.
pip install koii

pipenv install koii

Usage
To make use of Koii, ensure you initialize the middleware by passing the instance of your flaks app into the class or the init_app method. Ensure the class is initialized after your routes have been defined. If you're making use of blueprints, the same also applies, place the initialisation of the class after your blue print registration.
from koii import Koii

app = Flask(__name__)

Koii(app) # alternatively Koii.init_app(app)

An example file can be found here.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.