Popular recipes by Chris Jones http://code.activestate.com/recipes/users/4171447/2010-05-10T08:34:32-07:00ActiveState Code RecipesReadOnlyPrivateSingletonImplicitThisMetaClass (Python)
2010-05-10T08:34:32-07:00Chris Joneshttp://code.activestate.com/recipes/users/4171447/http://code.activestate.com/recipes/577221-readonlyprivatesingletonimplicitthismetaclass/
<p style="color: grey">
Python
recipe 577221
by <a href="/recipes/users/4171447/">Chris Jones</a>
(<a href="/recipes/tags/enterprise/">enterprise</a>, <a href="/recipes/tags/implicit/">implicit</a>, <a href="/recipes/tags/private/">private</a>, <a href="/recipes/tags/readonly/">readonly</a>, <a href="/recipes/tags/self/">self</a>, <a href="/recipes/tags/singleton/">singleton</a>).
Revision 3.
</p>
<p>Are you a totally agile rock star developer? Turn your code into a rock concert with this handy metaclass that makes your classes suitable for production deployment!</p>
AttrDict (Python)
2009-11-28T05:39:08-08:00Chris Joneshttp://code.activestate.com/recipes/users/4171447/http://code.activestate.com/recipes/576972-attrdict/
<p style="color: grey">
Python
recipe 576972
by <a href="/recipes/users/4171447/">Chris Jones</a>
(<a href="/recipes/tags/attr/">attr</a>, <a href="/recipes/tags/attributes/">attributes</a>, <a href="/recipes/tags/dict/">dict</a>).
</p>
<p>Dictionary object that can also be accessed via attributes</p>