A python library to display routes in a flask application
Project description
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.
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
File details
Details for the file koii-1.0.0.tar.gz
.
File metadata
- Download URL: koii-1.0.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b22b5f33bd2af971e3d644079eb43be6b617e5d84a3c0552c8147b03f90ad8f0 |
|
MD5 | 6e5bf2c10e9d9005f7b8f03ad79625f7 |
|
BLAKE2b-256 | 88136813495d4a70bd6cf19e8a0da379e2e23d1e6a1584886339234033f1aec3 |
File details
Details for the file koii-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: koii-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 387b977eeadc12ba3f50742456d27223a0b84947757b050a8cd0c04b43894a4c |
|
MD5 | 459f92bdee73c9a3a3b80a2d39c679d8 |
|
BLAKE2b-256 | 849348cf6b20546a2f7830e6ac876b8b3d97c000e491e8582707341e1f6e6e67 |