sdkagent

pathos API reference

59 public APIs from pathos (uqfoundation/pathos) — 17 classes, 11 functions, 31 methods. Signatures extracted by static analysis of the actual source.

Repository: uqfoundation/pathos

KindCount
Classes17
Functions11
Methods31

API list

funcexamples2.all_scatter_gather.sin2(xi)
sin squared of all data
funcexamples2.all_scatter_gather2.sin_diff(x, xp)
d = sin(x - x')
classpathos.abstract_launcher.AbstractPipeConnection
AbstractPipeConnection base class for pathos pipes.
classpathos.abstract_launcher.AbstractWorkerPool
AbstractWorkerPool base class for pathos pools.
methodpathos.abstract_launcher.AbstractWorkerPool.clear()
Remove server with matching state
funcpathos.citation()
print citation
classpathos.connection.Pipe
a popen-based pipe for parallel and distributed computing
methodpathos.connection.Pipe.kill()
terminate the pipe
methodpathos.connection.Pipe.launch()
launch a configured command
methodpathos.connection.Pipe.pid()
get pipe pid
classpathos.connection.PipeException
Exception for failure to launch a command
funcpathos.helpers.mp_helper.random_seed(s=None)
sets the seed for calls to 'random()'
funcpathos.hosts.get_profiles()
get $PROFILE for each registered host
funcpathos.hosts.register(rhost, profile=None)
register a host and $PROFILE
funcpathos.license()
print license
methodpathos.maps.Map.clear()
remove pool singleton, if exists
methodpathos.maps.Map.close()
close the map to any new jobs
methodpathos.maps.Map.join()
reclaim the closed workers
classpathos.multiprocessing.ProcessPool
Mapper that leverages python's multiprocessing.
methodpathos.multiprocessing.ProcessPool.close()
close the pool to any new jobs
methodpathos.multiprocessing.ProcessPool.join()
cleanup the closed worker processes
methodpathos.multiprocessing.ProcessPool.restart(force=False)
restart a closed pool
methodpathos.multiprocessing.ProcessPool.terminate()
a more abrupt close
classpathos.parallel.ParallelPool
Mapper that leverages parallelpython (i.e.
methodpathos.parallel.ParallelPool.close()
close the pool to any new jobs
funcpathos.parallel.ParallelPool.imap_unordered(it)
build a unordered map iterator
methodpathos.parallel.ParallelPool.join()
cleanup the closed worker processes
methodpathos.parallel.ParallelPool.restart(force=False)
restart a closed pool
funcpathos.parallel.ParallelPool.submit(*argz)
send a job to the server
methodpathos.parallel.ParallelPool.terminate()
a more abrupt close
funcpathos.pp_map.submit(*args)
Send a job to the server
classpathos.profile.profile
decorator for profiling a function (will enable profiling)
funcpathos.profile.thread_id()
get the identifier for the current thread
classpathos.secure.connection.Pipe
a popen-based ssh-pipe for parallel and distributed computing.
classpathos.secure.copier.Copier
a popen-based copier for parallel and distributed computing.
classpathos.secure.copier.FileNotFound
Exception for improper source or destination format
classpathos.secure.tunnel.Tunnel
a ssh-tunnel launcher for parallel and distributed computing.
methodpathos.secure.tunnel.Tunnel.disconnect()
destroy the ssh tunnel
classpathos.secure.tunnel.TunnelException
Exception for failure to establish ssh tunnel
classpathos.selector.Selector
Selector object for watching and event notification.
classpathos.serial.SerialPool
Mapper that leverages standard (i.e.
methodpathos.serial.SerialPool.clear()
hard restart
methodpathos.serial.SerialPool.close()
close the pool to any new jobs
methodpathos.serial.SerialPool.join()
cleanup the closed worker processes
methodpathos.serial.SerialPool.restart(force=False)
restart a closed pool
methodpathos.serial.SerialPool.terminate()
a more abrupt close
methodpathos.server.Server.deactivate()
turn off the selector
methodpathos.server.Server.selector()
get the selector
methodpathos.server.Server.serve(timeout)
begin serving, and set the timeout
classpathos.threading.ThreadPool
Mapper that leverages python's threading.
methodpathos.threading.ThreadPool.close()
close the pool to any new jobs
methodpathos.threading.ThreadPool.join()
cleanup the closed worker processes
methodpathos.threading.ThreadPool.restart(force=False)
restart a closed pool
methodpathos.threading.ThreadPool.terminate()
a more abrupt close
classpathos.xmlrpc.server.XMLRPCRequestHandler
create a XML-RPC request handler
methodpathos.xmlrpc.server.XMLRPCRequestHandler.do_POST()
Access point from HTTP handler
classpathos.xmlrpc.server.XMLRPCServer
extends base pathos server to an XML-RPC dispatcher
methodpathos.xmlrpc.server.XMLRPCServer.activate()
install callbacks
methodpathos.xmlrpc.server.XMLRPCServer.serve()
enter the select loop...

About this data

These signatures were extracted from the public source of uqfoundation/pathos using Python's ast module. Argument names, default values, type annotations and return types are taken verbatim from the code. Implementation bodies are never stored. See how it works for details.

Back to all 805 libraries