Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

edgify / rook   python

Repository URL to install this package:

Version: 0.1.176 

/ auto_start.py

"""This module initializes the Rook using default settings when imported."""
import os


def _auto_start():
    disable = os.environ.get('ROOKOUT_DISABLE_AUTOSTART', None)

    if disable is not None and disable != '0':
        return

    import rook
    rook.start()


_auto_start()