Signal Sciences WSGI python middleware
make buildpip3 install sigscimodule-1.4.1.tar.gzpip install sigscimodule-1.4.1.tar.gzIn the setup.py file of your Flask application, add the following line to reference the sigscimodule package:
packages = ['flask', '......', 'sigscimodule']In the app.py file of your application, add the following line to import the import the sigscimodule middleware:
from sigscimodule import MiddlewareBelow the from sigscimodule import Middleware line, wrap the application object to apply the sigscimodule middleware:
app.wsgi_app = Middleware(app.wsgi_app)