{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks"}],"enrichment":{"capability":"svcs is a dependency container that registers factories for types and provides automatic cleanup and health checks when acquiring service instances in Python applications.","skillfed_tags":["dependency-injection","inversion-of-control","web-framework-integration"],"use_cases":["Manage database connections, API clients, and caches in FastAPI or Flask applications with automatic cleanup per request.","Implement dependency injection in web frameworks without decorators or global state, improving testability.","Register multiple implementations of a service interface and switch between them for different environments or test scenarios.","Add health checks to services for monitoring and observability in production applications.","Automatically resolve and inject dependencies based on type annotations in function signatures."],"what_it_does":"svcs is a dependency container that centralizes the registration and acquisition of service instances in Python applications. It supports both dependency injection and service locator patterns without requiring global state, decorators, or function signature changes. The container automatically manages cleanup of acquired services through context managers and provides health checks for monitoring.\n\nThe package integrates with popular web frameworks (AIOHTTP, FastAPI, Flask, Pyramid, Starlette) and provides full static type safety when used with a type checker. It reduces boilerplate code for service acquisition and cleanup while maintaining loose coupling between components, which simplifies testing. Recent versions added support for abstract types via PEP 747 and autowiring based on type annotations.","worth_installing":"Yes. svcs is actively maintained, production-stable, has no known vulnerabilities, and solves a genuine problem in dependency management for Python web applications. The low install friction and optional static typing make it accessible. It's particularly valuable if you're using FastAPI, Flask, or another supported framework and want to reduce boilerplate around service acquisition and cleanup."},"id":"svcs","links":{"html":"https://skillfed.io/packages/svcs","md":"https://skillfed.io/packages/svcs.md","pypi":"https://pypi.org/project/svcs/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-13","license_spdx":"MIT","license_treatment":"permissive","name":"svcs","python_support":"supports_current","summary":"A Flexible Service Locator"},"popularity":{"monthly_downloads":7427821,"position":1741,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"26.1.0"}
