devel/py-rodi 2.1.0 FreeBSD
Implementation of dependency injection for Python 3
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 36.6 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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-rodi | 2.1.0 |
| HardenedBSD | devel/py-rodi | 2.1.0 |
| GhostBSD | devel/py-rodi | 2.1.0 |
Install
Binary package:
pkg install py312-rodi
From the ports tree:
cd /usr/ports/devel/py-rodi/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-rodi>0:devel/py-rodi
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.1.0 | 2.1.0 | - | - | 2.1.0 |
| FreeBSD:14:quarterly | 2.1.0 | 2.1.0 | n/a | - | 2.1.0 |
| FreeBSD:15:latest | 2.1.0 | 2.1.0 | n/a | - | - |
| FreeBSD:15:quarterly | 2.1.0 | 2.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.1.0 | 2.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling
Test 1
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0: devel/py-pytest-asyncio
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 7
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Neoteroi-rodi-v2.1.0_GH0.tar.gz | 32784 | 9a94b6cab11049316df0b55d57f9c1a5833ed1620a238a49d5b1ba2d856b1047 |
Commit history 0
No commits in the history this site was built from.