Skip to content
P

python-resilience

Python resilience patterns including automatic retries, exponential backoff

by wshobsonFree

Launch
#1809in AI Skills
0In stores

Description

python-resilience is an agent skill from the wshobson/agents collection for building Python applications that keep working when their depend…

Highlights

  • Retries with exponential backoff
  • Timeouts for network operations
  • Transient versus permanent failure handling
  • Rate limiting and backpressure
  • Circuit breakers and fault-tolerant decorators
  • Installs with the skills CLI

Ratings & Reviews

No ratings yet

Be the first to rate python-resilience.

People also visit

A

airflow-dag-patterns

Build production Apache Airflow DAGs

AI Skills
Launch
A

async-python-patterns

Comprehensive guide to asyncio, concurrent patterns

AI Skills
Launch
B

backtesting-frameworks

Robust backtesting systems

AI Skills
Launch
P

python-anti-patterns

Reviewing Python code for common anti-patterns to avoid

AI Skills
Launch
P

python-background-jobs

Python background job patterns including task queues, workers

AI Skills
Launch
P

python-code-style

Python code style, linting, formatting, naming conventions

AI Skills
Launch

python-resilience FAQ

What is exponential backoff?

Waiting longer between each retry, so a struggling service gets room to recover.

Which errors should be retried?

Transient failures such as network timeouts and temporary service problems. Permanent errors such as invalid credentials or bad requests are not retried.

What is a circuit breaker?

A pattern that stops calls to a service that keeps failing, and lets it recover before calls resume.

Can retries cause problems?

They can make an outage worse if unbounded, so the skill's guidance sets limits and waits.

How do I install it?

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

What security audits does it have?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best python-resilience alternatives?

Popular alternatives to python-resilience include airflow-dag-patterns, async-python-patterns and backtesting-frameworks. See all python-resilience alternatives

Developer Stuff

Badges