skip to navigation
skip to content

flask-hookserver 0.1.2

Server for GitHub webhooks using Flask

Latest Version: 0.3.2

A tool that receives webhooks from GitHub and passes the data along to a user-defined function. It validates the HMAC hash, and checks that the originating IP address comes from the GitHub IP block.


from hookserver import HookServer

app = HookServer(__name__, b'mySecretKey')

def ping(data, guid):
    return 'pong'


The optional parameter num_proxies is used to prevent clients from pretending to be on the GitHub IP block. Set it to the number of proxies you have in front of your WSGI server. See the Werkzeug documentation for more info.

File Type Py Version Uploaded on Size
flask-hookserver-0.1.2.tar.gz (md5) Source 2014-07-09 3KB
  • Downloads (All Versions):
  • 36 downloads in the last day
  • 608 downloads in the last week
  • 2488 downloads in the last month