Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bootstrap
config
.gitignore
README.md
testservice.py

README.md

EPU Bootstrap

Temporary home of new EPU bootstrapping code

Prerequisites

pyyaml==3.10

Usage

To use this bootstrapping code, you should subclass the bootstrap.Service object, then initialize that object from your main function. In general, this will look something like:

myservice.py:

from bootstrap import Service

class MyService(Service):

    def __init__(self, *args, **kwargs):
        super(MyService, self).__init__(*args, **kwargs)

        self.log = self.get_logger()

        self.log.info("Hello from MyService!")


MyService()
Something went wrong with that request. Please try again.