Skip to content

fastly/sigsci-module-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sigsci-module-python

Signal Sciences WSGI python middleware

Build artifacts

make build

Install via pip

Python 3

pip3 install sigscimodule-1.4.1.tar.gz

Python 2

pip install sigscimodule-1.4.1.tar.gz

Usage

In 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 Middleware

Below the from sigscimodule import Middleware line, wrap the application object to apply the sigscimodule middleware:

app.wsgi_app = Middleware(app.wsgi_app)

About

Signal Sciences WSGI python middleware

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages