Page MenuHomec4science

bd_zeo_server.py
No OneTemporary

File Metadata

Created
Sun, Dec 1, 13:18

bd_zeo_server.py

#!/usr/bin/env python
import BlackDynamite as BD
# First we need to set the python headers and
# to import the blackdynamite modules
# Then you have to create a generic black dynamite parser
# and parse the system (including the connection parameters and credentials)
parser = BD.bdparser.BDParser()
parser.register_params(
group="bd_zeo_server",
params={"spawn_server": bool},
defaults={"spawn_server": True},
help={"spawn_server": "Start a server listening on a given port"}
)
params = parser.parseBDParameters()
base = BD.base.Base(**params)

Event Timeline