You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very nice to create a simple decorator people could use to submit jobs, as many distributed processing libraries have: People could decorate functions they want to offload to a pipelinin queue for distributed processing. I have something similar in my Liveplots package: https://github.com/fccoelho/liveplots/blob/master/src/liveplots/xmlrpcserver.py
defenqueue(f):
"""Decorator that places the call on a queue"""defqueued(self,*args,**kw):
Q.put((f,(self,)+args))
queued.__doc__=f.__doc__queued.__name__=f.__name__returnqueued
where Q is a Queue object.
Also a customized map/reduce (this could be lifted from other python map/reduce libraries) framework would see great adoption.
The text was updated successfully, but these errors were encountered:
It would be very nice to create a simple decorator people could use to submit jobs, as many distributed processing libraries have: People could decorate functions they want to offload to a pipelinin queue for distributed processing. I have something similar in my Liveplots package: https://github.com/fccoelho/liveplots/blob/master/src/liveplots/xmlrpcserver.py
where Q is a Queue object.
Also a customized map/reduce (this could be lifted from other python map/reduce libraries) framework would see great adoption.
The text was updated successfully, but these errors were encountered: