Did I find the right examples for you? yes no

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)
Main Sloth class.

Each instance represents a separate sloth app,
with its own config, log, action queue, and queue processor.

Each app listens for incoming requests on its own URL path.

src/s/l/sloth-ci-0.5.3/sloth_ci/api.py   sloth-ci(Download)
from configs import load
from .sloth import Sloth
    config_files, config_dirs = get_config_files(config_locations)
    sloths = (Sloth(load(config_file, defaults={'log_dir': log_dir})) for config_file in config_files)
    run(host, port, log_dir, config_dirs, sloths)