pypath.omnipath.server.run.Rest§

class pypath.omnipath.server.run.Rest(port, serverclass=<class 'pypath.omnipath.server.run.TableServer'>, start=True, **kwargs)[source]§

Bases: object

__init__(port, serverclass=<class 'pypath.omnipath.server.run.TableServer'>, start=True, **kwargs)[source]§

Runs a webserver serving a PyPath instance listening to a custom port.

:param : The port to listen to. :type : param int port: :param : The class implementing the server. :type : param str serverclass’ :param : Arguments for initialization of the server class. :type : param **kwargs:

Methods

__init__(port[, serverclass, start])

Runs a webserver serving a PyPath instance listening to a custom port.

start()