skillfed

dependencies

Constructor injection designed with OOP in mind.

dependencies v7.7.1 111.3K downloads/30d#12,423 on PyPI
Permissive license BSD-2-Clause DORMANT released

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 on this page — 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

dependencies on PyPI

pip

pip install dependencies

uv

uv add dependencies

poetry

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 not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance dormant — 628 days since the last release
First released
Downloads 111,273/month — #12,423 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: dependencies-7.7.1-py2.py3-none-any.whl

License :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Tags

constructor injectiondependency injectionobject dependency resolutionOOP dependency managementdeclarative dependency injectionservice containerinversion of control
dependency-injectiondeprecated-upstream

More Application Frameworks packages