Task Bus SDK for Python (Redis Broker)
Project description
task-hub-sdk-redis
Redis Streams provider for the Task Bus Python SDK.
Usage
from task_hub_sdk_redis import BaseWorker, RedisProvider, start_worker
from task_hub_sdk import ProviderConfig
class MyWorker(BaseWorker):
def process_task(self, msg_id, body) -> bool:
return True
# Convenience helper
start_worker(MyWorker(queue_name="tts"))
# Explicit provider
start_worker(MyWorker(), RedisProvider(), ProviderConfig(queue_name="tts"))
Configuration
REDIS_URL: Redis connection URL (default:redis://localhost:6379)SERVER_URL: Task Bus Server URL (default:http://localhost:8080)REDIS_GROUP: Consumer group name (default:task_bus_group)REDIS_CONSUMER: Consumer name (default: hostname + pid)
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 task_hub_sdk_redis-0.1.0.tar.gz.
File metadata
- Download URL: task_hub_sdk_redis-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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 |
5b631a3d8696c7d8d3f6ce8a8abdd380d3e774ac87fc27bc5c0c28fc474a48f5
|
|
| MD5 |
d96f07bf4043e52e04ad2d2a624bf082
|
|
| BLAKE2b-256 |
fa2029c31f2630ecedc4189a5d4c2c6efabe56956e5456b20151e2f6c9191a1b
|
File details
Details for the file task_hub_sdk_redis-0.1.0-py3-none-any.whl.
File metadata
- Download URL: task_hub_sdk_redis-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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 |
4d658641439b6fbe1ab0363cbc3c6de2c27e85a76c63ca61e8aad83e89e26d4e
|
|
| MD5 |
ad8be4b5a224c2f8620881658f88de6d
|
|
| BLAKE2b-256 |
9500bae518346cd26ae0033c7c9cc64d5efba3843f5082176918fd31651bb321
|