Skip to main content

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


Download files

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

Source Distribution

hypeline-0.3.0.tar.gz (93.2 kB view details)

Uploaded Source

Built Distribution

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

hypeline-0.3.0-py3-none-any.whl (218.3 kB view details)

Uploaded Python 3

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

Hashes for hypeline-0.3.0.tar.gz
Algorithm Hash digest
SHA256 efd5343cb8ea9d0fcce8e21d09301c2a6b4af16bd9b4d0fdd4a7236b13c6709f
MD5 13f63ac9dc8c13b66d669aec9c10c67c
BLAKE2b-256 4d10d2872d3502307e23535bacfdf9df6010994156c1d101b973c6581100a881

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypeline-0.3.0.tar.gz:

Publisher: sdks.yml on Hypeline-io/hypeline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for hypeline-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2c91070b867f5255d40bb15dc50db2133f73e37442e536067479fbfe67876b9
MD5 3fe654d16958cfc40cfefa7fca23f65e
BLAKE2b-256 a454ff3b87831a982e1e1624e6d102f4e6c73dbb5c2d0d818acd0007bff90d08

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypeline-0.3.0-py3-none-any.whl:

Publisher: sdks.yml on Hypeline-io/hypeline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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