Popular recipes by Denis Otkidach http://code.activestate.com/recipes/users/1732285/2004-04-16T05:32:06-07:00ActiveState Code RecipesSingle parameters style for DB API modules (Python)
2004-04-16T05:32:06-07:00Denis Otkidachhttp://code.activestate.com/recipes/users/1732285/http://code.activestate.com/recipes/278612-single-parameters-style-for-db-api-modules/
<p style="color: grey">
Python
recipe 278612
by <a href="/recipes/users/1732285/">Denis Otkidach</a>
(<a href="/recipes/tags/database/">database</a>).
</p>
<p>This recipe allows to code SQL queries the same way independent on paramstyle of used DB module.</p>
Caching and aliasing with descriptors (Python)
2004-04-05T03:59:01-07:00Denis Otkidachhttp://code.activestate.com/recipes/users/1732285/http://code.activestate.com/recipes/276643-caching-and-aliasing-with-descriptors/
<p style="color: grey">
Python
recipe 276643
by <a href="/recipes/users/1732285/">Denis Otkidach</a>
(<a href="/recipes/tags/oop/">oop</a>).
</p>
<p>A few simple discriptor classes to compute and cache attribute value on demand and to define attribute as alias to other.</p>