Fustor HTTP Sender - Transport layer for Agent to Fusion communication
Project description
fustor-sender-http
HTTP Sender for Fustor Agent - implements the transport layer for Agent to Fusion communication.
Overview
This package provides an HTTP-based implementation of the Sender transport abstraction. It uses the Fusion SDK client to communicate with Fusion's REST API.
Installation
pip install fustor-sender-http
Usage
from fustor_sender_http import HTTPSender
sender = HTTPSender(
sender_id="my-sender",
endpoint="http://fusion.example.com:8000",
credential={"api_key": "your-api-key"}
)
# Create session
await sender.connect()
session = await sender.create_session("my-task-id")
# Send events
await sender.send_events(events, source_type="message")
# Heartbeat
await sender.heartbeat()
# Cleanup
await sender.close()
Entry Points
This package registers itself as:
fustor.senders:http- New sender registryfustor_agent.drivers.senders:fusion- Legacy sender registry (backward compat)
Migration from fustor-sender-fusion
The fustor-sender-fusion package is deprecated. To migrate:
- Replace
from fustor_sender_fusion import FusionDriverwithfrom fustor_sender_http import HTTPSender - Update configuration to use
senderinstead ofsenderterminology - The
HTTPSenderclass implements the newSenderinterface but maintains API compatibility
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 fustor_sender_http-0.8.3.3.tar.gz.
File metadata
- Download URL: fustor_sender_http-0.8.3.3.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3208b2e63c33e16cfeebdf12c06dfeea3b3b41a54a1ddd1ba40022a3a3ba676e
|
|
| MD5 |
1a4f7bfd0c4bed89533afa30da17dfcd
|
|
| BLAKE2b-256 |
8928a533bb2b856a195a76d0c672459283125dc528a05ba6e89c39235a526917
|
File details
Details for the file fustor_sender_http-0.8.3.3-py3-none-any.whl.
File metadata
- Download URL: fustor_sender_http-0.8.3.3-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
693e7db866e5e17de2246ea1a6607cf0d27702f60d227b729f89eb208259694a
|
|
| MD5 |
eb96922a8516a05fc200dd28b83ad69b
|
|
| BLAKE2b-256 |
f067c891337d2bc6e58e4a060c242c44db6f51d1b4a9c3126fbf6076e8334d2b
|