I had a quick idea. How about making the injected callable dynamically
imported if it is set as a string. Something along the lines of...
class Controller(object):
user = inject.attr('user', type='my.module.get_user',
scope=inject.reqscope)
This would led to less required imports -- inject would resolve
'my.module.get_user' as needed. Similar mechanism would need to be
implemented for bindto. Horrible idea? :)
Keep it up. Very well designed little library.
-- rodrigo