Popular recipes by Mateyuzo http://code.activestate.com/recipes/users/4172453/2010-04-08T04:36:05-07:00ActiveState Code RecipesDecoupled Proxy of a State Bearing Object in a Multiprocessing Environment (Python) 2010-04-08T04:36:05-07:00Mateyuzohttp://code.activestate.com/recipes/users/4172453/http://code.activestate.com/recipes/577180-decoupled-proxy-of-a-state-bearing-object-in-a-mul/ <p style="color: grey"> Python recipe 577180 by <a href="/recipes/users/4172453/">Mateyuzo</a> (<a href="/recipes/tags/access/">access</a>, <a href="/recipes/tags/multiprocessing/">multiprocessing</a>, <a href="/recipes/tags/process/">process</a>, <a href="/recipes/tags/processing/">processing</a>, <a href="/recipes/tags/subprocess/">subprocess</a>, <a href="/recipes/tags/synchronization/">synchronization</a>, <a href="/recipes/tags/syncmanager/">syncmanager</a>, <a href="/recipes/tags/threading/">threading</a>, <a href="/recipes/tags/__getattribute__/">__getattribute__</a>). Revision 2. </p> <p>Describes a simple example of the potential for shared Singleton or Borg object methods to be proxy'd by an object that SyncManger can present to requesting subprocesses.</p> Available disk space monitoring for concurrent writes (Python) 2010-03-25T01:10:14-07:00Mateyuzohttp://code.activestate.com/recipes/users/4172453/http://code.activestate.com/recipes/577140-available-disk-space-monitoring-for-concurrent-wri/ <p style="color: grey"> Python recipe 577140 by <a href="/recipes/users/4172453/">Mateyuzo</a> (<a href="/recipes/tags/files/">files</a>, <a href="/recipes/tags/multiprocessing/">multiprocessing</a>, <a href="/recipes/tags/stat/">stat</a>, <a href="/recipes/tags/writing/">writing</a>). Revision 5. </p> <p>A DiskSpaceProctor is registered with a SyncManager to be shared by forked processes and threads. This object will check the available free space and add up filesz of concurrent writes. If there is not enough space for the requesting write, an exception is raised.</p> Basic class code generator (Python) 2010-03-22T10:58:19-07:00Mateyuzohttp://code.activestate.com/recipes/users/4172453/http://code.activestate.com/recipes/577130-basic-class-code-generator/ <p style="color: grey"> Python recipe 577130 by <a href="/recipes/users/4172453/">Mateyuzo</a> (<a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/prototyping/">prototyping</a>, <a href="/recipes/tags/template/">template</a>). Revision 5. </p> <p>This little script takes a yaml file as a class definition and generates code stubs and unit tests.</p>