How to use the pypx.echo.Echo function in pypx

To help you get started, we’ve selected a few pypx examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github FNNDSC / pypx / pypx / echo.py View on Github external
def __init__(self, arg):
        """
        Constructor.

        Largely simple/barebones constructor that calls the Base()
        and sets up the executable name.
        """

        super(Echo, self).__init__(arg)
        self.dp = pfmisc.debug(
                    verbosity   = self.verbosity,
                    within      = 'Echo',
                    syslog      = False
        )
github FNNDSC / pypx / pypx / __init__.py View on Github external
def echo(opt={}):
    return Echo(opt).run()