This project started from an issue I had during coding a “fun” project at home. I am working on a mulitstream chatbot and during coding a noticed that I probably need a IoC of some kind so manage my class couplings. Instead of installing an existing I decided to write my own and make it power and simple/intuitive.
If you want to watch me code, I do most of my coding on livecoding.tv and twitch. Vidoes are available on YouTube(also trying the livestream beta there) (see links on the left).
There are many DI projects for python on github, but I found them all to be either to simple or too complex and feature rich.
I sat down and made some thinking, what do i need this DI for and how would i like to use it? I came up with a minimal list of required features:
Factory Pattern support Class call WITH arguments Manipulate the instance attributes/settings
- Simple Annotation for easy configuration
Currently the state of this project i Development/Working. The core feature that I am working on right now is the annotation, and this gives me a headaque since WHAT IS SIMPLE.
The code is available at github please check it out. I’m working on the documentation but that is plain boring :). Meanwhile checkout the examples and tests provided in the code.