Skip to content

Atry/MIXINv2

Repository files navigation

MIXINv2

PyPI CI Documentation Status

A dependency injection framework with pytest-fixture syntax, plus a configuration language for declarative programming.

The configuration language is designed for modularity — independent modules compose freely without glue code, immune to the Expression Problem. If you prefer declarative programming, you can even move all your business logic from Python into MIXINv2 — it is based on inheritance-calculus, which is provably more expressive than λ-calculus. As a bonus, your Python code reduces to thin I/O adapters, trivially mockable, and the same MIXINv2 code runs unchanged on both sync and async runtimes (a.k.a. function-color-blind).

pip install mixinv2

Full documentation is available at mixinv2.readthedocs.io.

History

MIXINv2 is the successor to MIXIN.

About

a dependency injection framework with pytest-fixture syntax, plus a configuration language for declarative programming

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors