Fault-tolerance primitives — retries, circuit breakers, timeouts, fallbacks, and health checks

Quickstart

Add retry to a flaky call with one decorator:

from attune.resilience import retry


@retry(max_attempts=3, initial_delay=0.1)
def load_value() -> int:
    return 42


print(load_value())