Official Hypeline SDK: turn any source into a unified, deduplicated live stream of change events. Sources, change history, SSE with gap-free resume, and Standard Webhooks signature verification.
Project description
hypeline
Official Python SDK for Hypeline. Add any source URL, create an alert (a keyword query over your sources), attach a destination (webhook or chat), poll change history, subscribe to the live event stream over SSE (gap-free resume), and verify signed webhooks.
The client is organized as source → alert → destination:
from hypeline import Hypeline
hy = Hypeline(api_key="...")
# source → alert → destination
src = hy.sources.create("https://example.com/blog", tags=["competitors"])
alert = hy.alerts.create(filter_query="acme OR globex", source_ids=[src.id])
created = hy.destinations.create(alert.id, kind="webhook",
url="https://hooks.example.com/hypeline")
print(created.secret) # webhook signing secret, revealed once
# poll change history, or stream live (keyword = content match)
for change in hy.get_changes_since(src.cursor).events:
print(change.content)
for ev in hy.stream(keyword="acme"):
print(ev.emitted_at, ev.content)
Namespaces: hy.sources.{create, create_many, list, retrieve, update, delete},
hy.alerts.{create, list, retrieve, update, delete},
hy.destinations.{create, list_for_alert, list, retrieve, update, delete, test, rotate_secret}.
tags on a source are static grouping labels (they do not match content); content matching is
the alert filter_query and the keyword filter on stream/get_changes_since.
See sdk/README.md for the shared regen/drift workflow.
Project details
Release history Release notifications | RSS feed
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 hypeline-0.3.0.tar.gz.
File metadata
- Download URL: hypeline-0.3.0.tar.gz
- Upload date:
- Size: 93.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efd5343cb8ea9d0fcce8e21d09301c2a6b4af16bd9b4d0fdd4a7236b13c6709f
|
|
| MD5 |
13f63ac9dc8c13b66d669aec9c10c67c
|
|
| BLAKE2b-256 |
4d10d2872d3502307e23535bacfdf9df6010994156c1d101b973c6581100a881
|
Provenance
The following attestation bundles were made for hypeline-0.3.0.tar.gz:
Publisher:
sdks.yml on Hypeline-io/hypeline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hypeline-0.3.0.tar.gz -
Subject digest:
efd5343cb8ea9d0fcce8e21d09301c2a6b4af16bd9b4d0fdd4a7236b13c6709f - Sigstore transparency entry: 2207181280
- Sigstore integration time:
-
Permalink:
Hypeline-io/hypeline@79be91425464149e3b8d9f5ffdc2c3ad86099738 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Hypeline-io
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
sdks.yml@79be91425464149e3b8d9f5ffdc2c3ad86099738 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hypeline-0.3.0-py3-none-any.whl.
File metadata
- Download URL: hypeline-0.3.0-py3-none-any.whl
- Upload date:
- Size: 218.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2c91070b867f5255d40bb15dc50db2133f73e37442e536067479fbfe67876b9
|
|
| MD5 |
3fe654d16958cfc40cfefa7fca23f65e
|
|
| BLAKE2b-256 |
a454ff3b87831a982e1e1624e6d102f4e6c73dbb5c2d0d818acd0007bff90d08
|
Provenance
The following attestation bundles were made for hypeline-0.3.0-py3-none-any.whl:
Publisher:
sdks.yml on Hypeline-io/hypeline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hypeline-0.3.0-py3-none-any.whl -
Subject digest:
a2c91070b867f5255d40bb15dc50db2133f73e37442e536067479fbfe67876b9 - Sigstore transparency entry: 2207181286
- Sigstore integration time:
-
Permalink:
Hypeline-io/hypeline@79be91425464149e3b8d9f5ffdc2c3ad86099738 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Hypeline-io
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
sdks.yml@79be91425464149e3b8d9f5ffdc2c3ad86099738 -
Trigger Event:
push
-
Statement type: