picobox icon indicating copy to clipboard operation
picobox copied to clipboard

Dependency injection framework designed with Python in mind.

Results 6 picobox issues
Sort by recently updated
recently updated
newest added

Autowiring is convenient functionality that allows to inject dependencies implicitly. Picobox core provides everything that is required to implement autowiring functionality as a third party decorator in `picobox.contrib` pacakge. The...

enhancement

``` ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-7.1.2, pluggy-1.0.0 rootdir: /build/source collected 1266 items tests/test_box.py ...................................................... [ 4%] ........................................................................ [ 9%] ........................................................................ [ 15%] ........FF............ [...

Like `picobox.ext.asgi` or `picobox.ext.wsgi`, `picobox.ext.grpc` has to provide _application_ and _request_ scopes for dependencies.

enhancement

One thing I regret about `picobox` is that it uses non-conventional names for methods (e.g. `pass_()`, not `inject`) and classes (e.g. `Box`, not `Container`). I'm afraid it might be a...

enhancement

There are engineers who prefer declarative over imperative, even when it comes to defining DI containers (i.e. `picobox.Box`). ```python import picobox.ext.declarative as declarative class MyBox(declarative.Box): ... ```

enhancement

The 'no-untyped-def' error code has been disabled before due to the code not being ready for it. This patch delivers amends to the code base, and enables the rule that...