Skip to main content

hivehook (Python)

Official Python client for Hivehook, webhook infrastructure for modern teams (inbound and outbound).

Latest release: 0.1.1 on PyPI.

Install

pip install hivehook-sdk

For the async client, install the optional extra:

pip install "hivehook-sdk[async]"

Quick start

import os
from hivehook import HivehookClient

client = HivehookClient(
    base_url="http://localhost:8080",
    api_key=os.environ["HIVEHOOK_API_KEY"],
)

source = client.sources.create(
    name="Stripe production",
    slug="stripe-prod",
    provider_type="stripe",
    verify_config={"secret": "whsec_..."},
)

print(f"created source {source.id}. POST webhooks to /ingest/{source.slug}")

Async usage

from hivehook import AsyncHivehookClient

async with AsyncHivehookClient(api_key="...") as client:
    sources = await client.sources.list()

Webhook signature verification

from hivehook.webhook import verify

signature = request.headers["X-Hivehook-Signature"]
timestamp = int(request.headers["X-Hivehook-Timestamp"])
ok = verify(body, "your-signing-secret", signature, timestamp)

Documentation

See the full reference at hivehook.com/docs.

License

MIT. See LICENSE.

Metadata

Release files for hivehook-sdk 0.1.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 hivehook-sdk 0.1.1
File Size Uploaded Provenance Actions
hivehook_sdk-0.1.1.tar.gz 33.4 kB Without provenance Details for hivehook_sdk-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hivehook-sdk 0.1.1
File Interpreter ABI Platform Actions
hivehook_sdk-0.1.1-py3-none-any.whl Python 3 none any Details for hivehook_sdk-0.1.1-py3-none-any.whl

Total release size: 85.8 kB

Release files / hivehook_sdk-0.1.1.tar.gz

Download URL hivehook_sdk-0.1.1.tar.gz
Size 33.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c1d53a68764cdb81dd602cdaf0229dbbcdd1efb4206fe6f0be55983483a173a4
BLAKE2b-256 checksum
How to use checksums
07c7b830ebdaff69b60c106947f633fb83812384fbf96089a3044b8e24621e44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / hivehook_sdk-0.1.1-py3-none-any.whl

Download URL hivehook_sdk-0.1.1-py3-none-any.whl
Size 52.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c3b0a12af845b2fac50b94ba8fe578a90d8f7fbbe5f1d4349180948564d7f9e
BLAKE2b-256 checksum
How to use checksums
7266bfdfa02ef3a70cf514d3f25a3c9a8aad990c133b491e664858feac2f68d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for hivehook-sdk 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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