Skip to main content

Webhook Actions

python Latest PyPI version Downloads Total alerts Language grade: Python

Webhook that runs scripts located in ~/webhook-actions/ directory.

How To Use

  1. Add scripts into webhook-actions. These can be in sub-directories
  2. Call the URL http://localhost:5000/your-script-name

Simple example

  • URL: http://localhost:5000/log-stat
  • Body: something
  • Command: ~/webhook-actions/log-stat something

Example with subdirectories

  • URL: https://YOUR_DOMAIM.com/git/your-project/deploy
  • Body: {"tag": "1.0.1"}
  • Command: ~/webhook-actions/git/your-project/deploy "{\"tag\": \"1.0.1\"}"

Example config file

The config file is located at ~/.webhook-actions.cgf. When you run the script the first time it will create a default configuration.

[General]
# Port to listen to
Port = 5000

Authors

Metadata

Release files for webhook-actions 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for webhook-actions 0.2.1
File Size Uploaded Provenance Actions
webhook-actions-0.2.1.tar.gz 9.2 kB Without provenance Details for webhook-actions-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for webhook-actions 0.2.1
File Interpreter ABI Platform Actions
webhook_actions-0.2.1-py3-none-any.whl Python 3 none any Details for webhook_actions-0.2.1-py3-none-any.whl

Total release size: 20.5 kB

Release files / webhook-actions-0.2.1.tar.gz

Download URL webhook-actions-0.2.1.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f88668723b234e8b337abeef8bccfe585e7e23e18ef94553b5290f3f87ff5c60
BLAKE2b-256 checksum
How to use checksums
b493cdef2aa9ec7ed411f55c5dae088beb804182a973af57666c191a7da1b721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / webhook_actions-0.2.1-py3-none-any.whl

Download URL webhook_actions-0.2.1-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4b5fb688e926ea2063c7a26a5f366ea0de18a281ba6bbd9aae465fc31eaff06
BLAKE2b-256 checksum
How to use checksums
b9229fe8803d1ebce9684d726718633beb1a0cda11a74f4613527306aec0cfa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Security for webhook-actions 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page