python-resource-management
Master Python resource management using sync and async context managers for databases, files, and connection pools.
Install
npx skills add https://github.com/wshobson/agents --skill python-resource-managementStats
| Total installs | 3,011 |
| Weekly installs | 3.0K |
| GitHub stars | 32.4K |
| First seen | Jan 30, 2026 |
| Source | @wshobson/agents |
Summary
- Covers class-based and decorator-based context managers for sync and async resources, with unconditional cleanup guarantees even on exceptions
- Includes patterns for database connections, file handles, connection pools, and dynamic resource management via ExitStack
- Provides streaming response patterns with efficient state accumulation, metrics tracking, and time-to-first-byte measurement
- Demonstrates selective exception suppression, nested resource cleanup, and O(n) string accumulation techniques
Tags
Related skills
| Skill | Installs | vs python-resource-management |
|---|---|---|
| workers-best-practices | 3,304 | +293 |
| clerk-setup | 2,925 | -86 |
| istio-traffic-management | 3,261 | +250 |
| apify-actorization | 2,711 | -300 |
| hono | 2,946 | -65 |
FAQ
- How many installs does python-resource-management have?
- python-resource-management has 3,011 total installs and 3.0K installs this week.
- Where is python-resource-management hosted?
- python-resource-management is published by @wshobson/agents at https://github.com/wshobson/agents.
- How many GitHub stars does python-resource-management have?
- python-resource-management has 32.4K GitHub stars.
- When was python-resource-management first indexed?
- OrangeBot.AI first indexed python-resource-management on Jan 30, 2026.
- How do I install python-resource-management?
- Run: npx skills add https://github.com/wshobson/agents --skill python-resource-management