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
Release files for fustor-sender-http 0.8.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fustor_sender_http-0.8.17.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fustor_sender_http-0.8.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / fustor_sender_http-0.8.17.tar.gz
| Download URL | fustor_sender_http-0.8.17.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b9825bcc74c2f4eba75869f0a1bf65293b964cf7651e4119d61fb557fcd6ce0
|
|
BLAKE2b-256 checksum How to use checksums |
a8848f15c44321b9522d9a00336eef429a963e6376936296f84eee95c8bffd2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / fustor_sender_http-0.8.17-py3-none-any.whl
| Download URL | fustor_sender_http-0.8.17-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2853032340cefee58478e3dcb4fcc3d12624fab2ffe27d8d5c5c14dfe0611c4
|
|
BLAKE2b-256 checksum How to use checksums |
679a2e58d472e76d37b98cacae32e4050a31fd923404100c4d12428a1da36797
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|