astro.recipes.util package

Submodules

astro.recipes.util.ArgumentParser module

Argument checking and parsing

This module is meant to parse and check arguments given to the constructor of Tasks. Also used by astro/net/dpu.py

class astro.recipes.util.ArgumentParser.ArgumentParser

Bases: object

parse(**args)
exception astro.recipes.util.ArgumentParser.ArgumentParserError

Bases: Exception

astro.recipes.util.recipe_parser module

astro.recipes.util.recipe_parser.check_end_of_list(parameter, cmndline)
astro.recipes.util.recipe_parser.check_existence_of_argument_for(parameter, argument, combined)
astro.recipes.util.recipe_parser.get_argument_for(parameter, cmndline, combined, index)
astro.recipes.util.recipe_parser.parse_compound_value_parameters()
astro.recipes.util.recipe_parser.parse_mandatory_parameters(cmndline, combined, single, multi=[], compound=[])
astro.recipes.util.recipe_parser.parse_multi_value_parameters(cmndline, combined, multi)

This function handles the input parameters which have more than one argument.

astro.recipes.util.recipe_parser.parse_optional_parameters(cmndline, combined, defaults_dict, single, multi=[], compound=[])
astro.recipes.util.recipe_parser.parse_single_value_parameters(cmndline, combined, single)

This function handles the input parameters which have one argument.

Module contents

This directory contains the recipes that are used in a fully functional database environment. It also contains the tasks that are send to the cluster.