← wshobson/agents

/python-resilience

寫程式wshobson/agentsAI翻譯

Python 韌性模式,含自動重試、exponential backoff、逾時與容錯 decorator。用於加入重試邏輯、實作逾時、建立容錯服務或處理暫時性故障。

安裝次數
1.2 萬
專案星數
4.2 萬 ★
授權
MIT
專案更新
2026-11-02

怎麼裝

npx skills add https://github.com/wshobson/agents --skill python-resilience

安裝前請先看過原文內容。中文說明是 AI 翻譯,不保證安全。

原文

Python resilience patterns including automatic retries, exponential backoff, timeouts, and fault-tolerant decorators. Use when adding retry logic, implementing timeouts, building fault-tolerant services, or handling transient failures.