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

All Samples(6)  |  Call(1)  |  Derive(2)  |  Import(3)

src/p/o/poclbm-HEAD/OpenCLMiner.py   poclbm(Download)
from detect import MACOSX
from Miner import Miner
from Queue import Empty
from hashlib import md5
from log import say_line
class OpenCLMiner(Miner):
	def __init__(self, device_index, options):
		super(OpenCLMiner, self).__init__(device_index, options)
		self.output_size = 0x100
 

src/p/o/poclbm-HEAD/BFLMiner.py   poclbm(Download)
from Miner import Miner
from Queue import Empty
from ioutil import find_udev, find_serial_by_id, find_com_ports
from log import say_line, say_exception
from serial.serialutil import SerialException
class BFLMiner(Miner):
	def __init__(self, device_index, port, options):
		super(BFLMiner, self).__init__(device_index, options)
		self.port = port
		self.device_name = 'BFL:'+str(self.device_index)

src/p/h/Phoenix-Miner-HEAD/phoenix.py   Phoenix-Miner(Download)
from ConsoleLogger import ConsoleLogger
from WorkQueue import WorkQueue
from Miner import Miner
 
class CommandLineOptions(object):
if __name__ == '__main__':
    options = CommandLineOptions()
    miner = Miner()
    miner.start(options)