search close

Python Module Install

access_time Updated Jan 11, 2022


Module is compatible with latest Python 2.X and 3.X

Installation via pip

pip install

Add to Flask Application

1. Reference the module in

# Reference module in ``
packages = ['flask', '......', 'sigscimodule']

2. Import the sigscimodule and apply Middleware in

# Import sigsci module
from sigscimodule import Middleware

# To apply SignalSciences middleware, wrap the application object
app.wsgi_app = Middleware(app.wsgi_app)