Did I find the right examples for you? yes no

All Samples(48)  |  Call(0)  |  Derive(0)  |  Import(48)
Gearman API - Client, worker, and admin client interfaces

src/a/r/archivematica-HEAD/src/dashboard/src/contrib/mcp/client.py   archivematica(Download)
# along with Archivematica.  If not, see <http://www.gnu.org/licenses/>.
 
import gearman
import cPickle
 

src/d/d/dd-agent-HEAD/checks.d/gearmand.py   dd-agent(Download)
    def get_library_versions(self):
        try:
            import gearman
            version = gearman.__version__
        except ImportError:
    def _get_client(self,host,port):
        try:
            import gearman
        except ImportError:
            raise Exception("Cannot import Gearman module. Check the instructions to install this module at https://app.datadoghq.com/account/settings#integrations/gearman")

src/a/r/archivematica-HEAD/src/MCPServer/lib/taskStandard.py   archivematica(Download)
import uuid
import time
import gearman
import cPickle
import datetime

src/a/r/archivematica-HEAD/src/MCPServer/lib/RPCServer.py   archivematica(Download)
from linkTaskManagerChoice import choicesAvailableForUnits
import lxml.etree as etree
import gearman
import cPickle
import time

src/a/r/archivematica-HEAD/src/MCPrpcCLI/lib/MCPrpcCLI.py   archivematica(Download)
# @author Joseph Perry <joseph@artefactual.com>
 
import gearman
import cPickle
import lxml.etree as etree

src/a/r/archivematica-HEAD/src/MCPrpcCLI/lib/info.py   archivematica(Download)
# @author Joseph Perry <joseph@artefactual.com>
 
import gearman
admin = gearman.admin_client.GearmanAdminClient(host_list=["127.0.0.1"])
#print admin.get_status()

src/a/r/archivematica-HEAD/src/MCPClient/lib/archivematicaClient.py   archivematica(Download)
import ConfigParser
import cPickle
import gearman
import os
import time

src/f/r/freesound-HEAD/sounds/management/commands/gm_worker_processing.py   freesound(Download)
#
 
import gearman, sys, traceback, json, time, os
from django.core.management.base import BaseCommand
from utils.audioprocessing.freesound_audio_processing import process

src/f/r/freesound-HEAD/sounds/management/commands/gm_status.py   freesound(Download)
from sounds.models import Sound
from django.conf import settings
import gearman
 
class Command(NoArgsCommand):

src/f/r/freesound-HEAD/sounds/management/commands/gm_client_processing.py   freesound(Download)
from django.core.management.base import BaseCommand
from sounds.models import Sound
import gearman, sys
from django.conf import settings
from optparse import make_option

  1 | 2 | 3 | 4 | 5  Next