2009
Welcome to Roles’ documentation! — Roles v0.6.0 documentation
Library for Role based development.
Python Package Index : roles 0.6.0
Library for Role based development.
Pythonic implementation of the DCI (Data Context Interaction) pattern (http://www.artima.com/articles/dci_vision.html).
The big difference with mixins is that this role is applied only to the subject instance, not to the subject class (alas, a new class is constructed).
Roles can be assigned and revoked. Multiple roles can be applied to an instance. Revocation can happen in any particular order.
