linear-events
Linear webhook payload types, HMAC signature verification, replay protection, and event dispatch.
pip install linear-events
# Optional FastAPI integration and agent activity client:
pip install 'linear-events[fastapi,client]'
import os
from linear_events import LinearDispatcher
hooks = LinearDispatcher(signing_secret=os.environ["LINEAR_WEBHOOK_SECRET"])
@hooks.on("Issue", action="create")
async def on_issue(payload):
print(payload["data"])
The dispatcher verifies signatures and timestamps when a signing secret is
configured. Mount as_fastapi_router() for FastAPI handling, or call dispatch
with the raw request body, signature, and timestamp yourself. The base package
has no runtime dependencies. linear_events.client.LinearAgentClient is
available with the client extra.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linear_events-0.1.0.tar.gz.
File metadata
- Download URL: linear_events-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2c2163c499968426054d105086700cfc74d1b19f43d63a7e9e2595fabaebf65
|
|
| MD5 |
73c3b47284332ff2f8abee7f67cbda11
|
|
| BLAKE2b-256 |
6727777a2e8ada460d695a92a4a0c81b1af731c9fcc450771502e1c4733304c8
|
File details
Details for the file linear_events-0.1.0-py3-none-any.whl.
File metadata
- Download URL: linear_events-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
450189ae97d1c036eed2e79a9111bbdc10168dab6252a7c8c4b0f1a453ab0929
|
|
| MD5 |
1a047633054d6692d3fb78b48e1077c6
|
|
| BLAKE2b-256 |
c47872ca6331f5be243e216f3d1c1452d9be6d393d80e823333183fb2b2939ff
|