A class based view for Django that can act as an receiver for GitHub webhooks. It is designed to validate all requests through their X-Hub-Signature headers.
Handling of GitHub events is done by implementing a class method with the same name as the event, e.g. ping, push or fork. See the documentation for more in-depth information and examples.
Free software: BSD license
Installation
pip install django-github-webhook
Documentation
Development
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
|---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Changelog
0.1.0 (2016-01-29)
First release on PyPI.
Metadata
Release files for django-github-webhook 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-github-webhook-0.1.1.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_github_webhook-0.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 19.3 kB
Release files / django-github-webhook-0.1.1.tar.gz
| Download URL | django-github-webhook-0.1.1.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00825eb568634c7e7c5b64992b27547c2b5fca0f3a27753dc629a5c9e9288469
|
|
BLAKE2b-256 checksum How to use checksums |
76ce6eea558727f6faeea5c154cdd7de16cc463423747fd8b754e1754fc20d8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_github_webhook-0.1.1-py2.py3-none-any.whl
| Download URL | django_github_webhook-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
916e9f78b569f9bb701e4056595d805d87f86107195c8185df30638417ccffa4
|
|
BLAKE2b-256 checksum How to use checksums |
85b70ee1107841be7afc6e9aebdac3e064cebd3ac228f64ab159e87efb4bb4f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |