Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(1)  |  Derive(5)  |  Import(2)

src/r/u/RunnerPyzza-0.1.1/RunnerPyzza/ServerCommon/Server.py   RunnerPyzza(Download)
__credits__ = ["Marco Galardini"]
 
from RunnerPyzza.Common.PyzzaTalk import PyzzaTalk
from RunnerPyzza.Common.System import System
from RunnerPyzza.ServerCommon.Job import Job, WorkerJob
        self.port = port
        self.manager = WorkerManager()
        self.PyzzaOven = PyzzaTalk(server = self.host, port=self.port)
 
        self.coutRestart = 0

src/r/u/RunnerPyzza-0.1.1/RunnerPyzza/ClientCommon/PyzzaTalk.py   RunnerPyzza(Download)
PyzzaTalk classes for the clients
"""
from RunnerPyzza.Common.PyzzaTalk import PyzzaTalk
from RunnerPyzza.Common.System import System
import tarfile
class OrderPyzza(PyzzaTalk):
    '''
    Initialize a new job
    Order a new pyzza
    '''
class OvenPyzza(PyzzaTalk):
    '''
    Start the desired job
    Put the pyzza in the oven
    '''
class CheckPyzza(PyzzaTalk):
    '''
    Check the desired job status
    Check the pyzza in the oven: is it ready or burned?
    '''
class EatPyzza(PyzzaTalk):
    '''
    Get the desired job results
    Eat the pyzza!
    '''