artemis.configurables.configurable

Base class for creating a job configuration

Module Contents

class artemis.configurables.configurable.GlobalConfigOptions

Options required to specify a dataset job Each instance of Artemis must be configured with these options

Options set to None should be specified as default options in inherited configurations or must be set by the user

jobname
output_repo
dbkey
input_repo
input_glob
max_malloc = 2147483648
max_buffer_size = 2147483648
write_csv = True
sample_ndatums = 1
sample_nchunks = 10
loglevel = INFO
generator_type
filehandler_type
seed
class artemis.configurables.configurable.Configurable(menu, **options)
property job_config(self)
retrieve_from_db(self)

Create DB connection Not required to run full configuration completes the job configuration process

configure(self)
_config_generator(self, **kwargs)
ctype = configuration class to generate

csv – generate csv-like data legacy – generator legacy cp500 data file – generator of files

kwargs specified in inherited job configurables

_config_tdigest(self, **kwargs)

creates the tdigest tool for tests

the **kwargs are not used in this configuration setup

_config_filehandler(self, **kwargs)
ctype = configuration class to generator

accepted class types: csv – reads csv data legacy – reads legacy cp500 data

kwargs specified in inherited job configurables

_config_writer(self)
_config_sampler(self)
_add_tools(self)
add_algos(self, algos)

algos : dict of algos from MenuBuilder

class artemis.configurables.configurable.MenuBuilder(name='test')

Standard method to build menus Menus can be stored in a DB So, should be retrieved via a key and converted to the protobuf

property algos(self)
_algo_builder(self)
_seq_builder(self)
_chain_builder(self)
build(self)