Skip to main content

Lightweight and flexible Python Package to send webhooks

Project description

Webhooks

This lightweight Python package provides flexible way to send webhooks to one or more URLs, with retry mechanisms and support for various webhook configurations.

Features

  • Send webhook to multiple URLs.
  • Automatically retry failed webhook requests.
  • Secure and reliable way to handle webhooks
  • Simple and straight forward
  • Extensible by design
  • Currently, supports json payload only

Installation

pip install simple-webhooks

Usage

import webhooks


res = webhooks.send(
    'https://www.example.com/webhook', 'https://www.domain.com/webhook',
    json={'event': 'my_event'}
)
for result in res:
    print(result.status_code)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_webhooks-1.0a1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Simple_Webhooks-1.0a1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file simple_webhooks-1.0a1.tar.gz.

File metadata

  • Download URL: simple_webhooks-1.0a1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for simple_webhooks-1.0a1.tar.gz
Algorithm Hash digest
SHA256 3810e254f8c69d4516c2b6935ea48c2f39c3d81d786a10f8d130e269f04b9629
MD5 b8784aa5e04d7a5e3055b78ba2a7e5e3
BLAKE2b-256 6f78de07c5c2695eae7a2fabba223d1d226b1f7b3dd3582a16ff5f1482aa9a3d

See more details on using hashes here.

File details

Details for the file Simple_Webhooks-1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for Simple_Webhooks-1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 a79e64615bb4c9946fc96ea7233f62495599c401c540cddc28d0fa480939c7c3
MD5 be8a87454275202d7eaee8b16c7ec0cf
BLAKE2b-256 eab99c7983f4dbb9c427d32e93b35d64acdaf462df025dcc67b926bb5da7b0be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page