--- id: dependencies version: "7.7.1" license: BSD-2-Clause license_treatment: permissive maintenance: dormant --- # dependencies — Constructor injection designed with OOP in mind. License: permissive · Maintenance: dormant · Downloads: 111.3K/mo ## What it is and what it does The dependencies package provides a framework for constructor injection—a pattern where an object's dependencies are declared upfront and resolved automatically rather than instantiated inside the object itself. This is useful in object-oriented code where you want to decouple object creation from object use, making code more testable and flexible. The package lets you define dependency graphs declaratively and have them wired together at instantiation time. However, the package is no longer actively maintained. The maintainer's own published description explicitly states 'Do not use this package' and directs users to an alternative instead. This is a strong signal that the package has known limitations or has been superseded. While it carries no security vulnerabilities and installs with zero dependencies, its dormant status and the maintainer's own recommendation make it a poor choice for new projects. Use it for: - Building testable OOP applications where you need to inject mock dependencies during unit testing. - Decoupling object creation logic from business logic in larger codebases. - Defining reusable service containers that wire up complex object graphs automatically. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Implements constructor injection for dependency management in object-oriented Python code, allowing you to declare and resolve object dependencies declaratively. No. The package is dormant (628 days since last release) and the maintainer explicitly recommends against using it. While it has no security issues and installs easily, the maintainer's own guidance is a decisive signal to choose an alternative instead. ## Install pip install dependencies uv add dependencies poetry add dependencies ## Installing dependencies Before you install: Low install friction with no runtime dependencies. However, the package is dormant—last release was 628 days ago—and the maintainer's own documentation explicitly recommends against using it. License in practice: BSD-2-Clause is permissive and poses no restrictions on commercial or private use, modification, or redistribution. Quickstart: pip install dependencies from dependencies import Injector class MyInjector(Injector): pass injector = MyInjector() Verify before relying: - Whether the package still works correctly with Python 3.10–3.13 despite dormant maintenance status. - What specific limitations or issues prompted the maintainer's recommendation to use an alternative instead. ## Package facts - License: BSD-2-Clause (permissive) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 111.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags constructor injection, dependency injection, object dependency resolution, OOP dependency management, declarative dependency injection, service container, inversion of control, dependency-injection, deprecated-upstream [View on SkillFed](https://skillfed.io/packages/dependencies) · [View on PyPI](https://pypi.org/project/dependencies/)