BSD Ports

devel/py-rodi 2.1.0 DragonFly

Implementation of dependency injection for Python 3

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
34.4 KiB, 194.9 KiB installed

Description

RODI is a dependency injection library for Python 3, providing a lightweight and fast implementation of the dependency injection pattern. It supports both synchronous and asynchronous dependency resolution.

Key features: * Fast dependency injection container * Support for singleton and transient lifetimes * Automatic dependency resolution * Support for factory functions * Decorator-based service registration * Type hints support for automatic registration * Compatible with async/await patterns

RODI is designed to be simple, fast, and easy to integrate into existing Python applications, particularly web frameworks and applications.

In the other systems

The newest version among them is 2.1.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-rodi2.1.0 newestnone known-[email protected]-
FreeBSDdevel/py-rodi2.1.0 newestnone known-[email protected]-
HardenedBSDdevel/py-rodi2.1.0 newestno data-[email protected]-
GhostBSDdevel/py-rodi2.1.0 newestno data-[email protected]-

Version history 1

  1. 2.1.0

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-rodi

From DPorts:

cd /usr/dports/devel/py-rodi && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1
Required by 1