https://github.com/oldpatricka/bootstrap
https://github.com/oldpatricka/bootstrap
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/oldpatricka/bootstrap
- Owner: oldpatricka
- Created: 2011-11-03T21:18:02.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-11-04T22:10:43.000Z (over 14 years ago)
- Last Synced: 2025-01-22T22:31:24.522Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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()