Module Import alias alias alias alias Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num If UnaryOpNot NameLoad body For NameStore TupleLoad Str Str body If Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad NameLoad body Return BinOpAdd NameLoad NameLoad Return NameLoad If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareIn NameLoad TupleLoad Str Str body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Str body Expr Str Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return CompareIn NameLoad TupleLoad Str Str Str Str Str orelse If CompareIs NameLoad NameLoad body Return CompareIn NameLoad TupleLoad Str Str Str Str orelse If CompareIs NameLoad NameLoad body Return CompareIn NameLoad TupleLoad Str Str Str orelse If CompareIs NameLoad NameLoad body Return CompareIn NameLoad TupleLoad Str Str Str orelse If CompareIs NameLoad NameLoad body Return CompareIn NameLoad TupleLoad Str Str orelse If CompareIs NameLoad NameLoad body Return CompareIn NameLoad TupleLoad Str Str Return NameLoad decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Print AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIs Call NameLoad NameLoad NameLoad body If NameLoad body Expr Call NameLoad NameLoad BinOpAdd BinOpAdd NameLoad NameLoad Str orelse Expr Call NameLoad NameLoad BinOpAdd NameLoad Str orelse Assign SubscriptStore NameLoad Index BinOpAdd NameLoad NameLoad NameLoad decorator_list Expr Call NameLoad AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str body Expr Str Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body If NameLoad body Return NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Str body Expr Str Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body If NameLoad body Return NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If NameLoad body Return NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad Str keyword NameLoad attr Exec Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot CompareIn Str NameLoad body Return CompareIn NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot CompareIn Str NameLoad body Return Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr For NameStore SubscriptLoad NameLoad Slice Num body If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Return NameLoad Return Call NameLoad NameLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str While NameLoad body Assign NameStore BinOpMod Str NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Str If CompareIs NameLoad NameLoad body AugAssignAdd NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Str orelse AugAssignAdd NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Str AugAssignAdd NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd UnaryOpNot NameLoad Call AttributeLoad NameLoad attr NameLoad body Print BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Str Return Assign NameStore Call AttributeLoad Call NameLoad attr If BoolOpAnd UnaryOpNot NameLoad CompareEq NameLoad Str body Assign NameStore NameLoad If CompareEq NameLoad Str body Continue If Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad body Break decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Return NameLoad If NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Pass orelse Assign NameStore NameLoad If CompareIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Print Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Str Return NameLoad If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr For NameStore SubscriptLoad NameLoad Slice Num body If UnaryOpNot CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Str body Expr Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A sys os yaml json N/A jasy.core.Console Console N/A jasy.core.File File jasy UserError jasy.core.Util getKey N/A __all__ N/A Config findConfig loadConfig writeConfig findConfig N/A N/A fileName N/A N/A N/A 
    Returns the name of a config file based on the given base file name (without extension).
    Returns either a filename which endswith .json, .yaml or None
     N/A fileExt N/A N/A N/A N/A os path splitext fileName N/A 1 N/A N/A fileExt N/A N/A tryExt N/A .json .yaml N/A N/A N/A N/A N/A os path exists N/A fileName tryExt N/A N/A N/A fileName tryExt N/A None N/A N/A N/A N/A N/A os path exists fileName N/A fileExt N/A .json .yaml N/A N/A fileName N/A N/A None N/A loadConfig N/A N/A fileName encoding N/A utf-8 N/A N/A 
    Loads the given configuration file (filename without extension) and 
    returns the parsed object structure 
     N/A configName N/A findConfig fileName N/A N/A configName None N/A N/A N/A UserError N/A Unsupported config file: %s fileName N/A fileHandle N/A open configName mode r encoding encoding N/A fileExt N/A N/A N/A N/A os path splitext configName N/A 1 N/A N/A fileExt .json N/A N/A result N/A N/A json load fileHandle N/A N/A N/A fileExt .yaml N/A N/A result N/A N/A yaml load fileHandle N/A N/A N/A fileHandle close N/A result N/A writeConfig N/A N/A data fileName indent encoding N/A 2 utf-8 N/A N/A 
    Writes the given data structure to the given file name. Based on the given extension
    a different file format is choosen. Currently use either .yaml or .json.
     N/A fileHandle N/A open fileName mode w encoding encoding N/A fileExt N/A N/A N/A N/A os path splitext fileName N/A 1 N/A N/A fileExt .json N/A N/A N/A N/A json dump data fileHandle indent indent ensure_ascii False N/A N/A N/A fileHandle close N/A N/A N/A fileExt .yaml N/A N/A N/A N/A yaml dump data fileHandle default_flow_style False indent indent allow_unicode True N/A N/A N/A fileHandle close N/A N/A N/A N/A fileHandle close N/A N/A UserError N/A Unsupported config type: %s fileExt N/A matchesType N/A N/A value expected N/A N/A N/A 
    Returns boolean for whether the given value matches the given type.
    Supports all basic JSON supported value types:
    primitive, integer/int, float, number/num, string/str, boolean/bool, dict/map, array/list, ...
     N/A result N/A type value N/A expected N/A N/A expected lower N/A N/A result int N/A N/A N/A expected N/A integer number int num primitive N/A N/A N/A result float N/A N/A N/A expected N/A float number num primitive N/A N/A N/A result str N/A N/A N/A expected N/A string str primitive N/A N/A N/A result bool N/A N/A N/A expected N/A boolean bool primitive N/A N/A N/A result dict N/A N/A N/A expected N/A dict map N/A N/A N/A result list N/A N/A N/A expected N/A array list N/A False N/A Config N/A N/A N/A 
    Wrapper around JSON/YAML with easy to use import tools for using question files,
    command line arguments, etc.
     __init__ N/A N/A self data N/A None N/A N/A 
        Initialized configuration object with destination file name.
         N/A N/A self __data N/A data N/A N/A debug N/A N/A self N/A N/A N/A 
        Prints data to the console
         N/A N/A self __data N/A export N/A N/A self N/A N/A N/A 
        Returns a flat data structure of the internal data
         N/A result N/A recurse N/A N/A data prefix N/A N/A N/A key data N/A N/A value N/A data N/A key N/A N/A N/A type value dict N/A N/A prefix N/A N/A N/A recurse value N/A N/A prefix key . N/A N/A N/A recurse value N/A key . N/A N/A N/A result N/A N/A prefix key value N/A N/A N/A recurse N/A self __data N/A result N/A injectValues N/A N/A self parse N/A True argv N/A N/A 
        Injects a list of arguments into the configuration file, typically used for injecting command line arguments
         N/A key argv N/A N/A N/A N/A self set key N/A argv N/A key parse parse N/A loadValues N/A N/A self fileName optional encoding N/A False utf-8 N/A N/A 
        Imports the values of the given config file
        Returns True when the file was found and processed.

        Note: Supports dotted names to store into sub trees
        Note: This method overrides keys when they are already defined!
         N/A configFile N/A findConfig fileName N/A N/A configFile None N/A N/A optional N/A N/A False N/A N/A N/A UserError N/A Could not find configuration file (values): %s configFile N/A data N/A loadConfig configFile encoding encoding N/A key data N/A N/A N/A N/A self set key N/A data N/A key N/A True N/A readQuestions N/A N/A self fileName force autoDelete optional encoding N/A False True False utf-8 N/A N/A 
        Reads the given configuration file with questions and deletes the file afterwards (by default).
        Returns True when the file was found and processed.
         N/A configFile N/A findConfig fileName N/A N/A configFile None N/A N/A optional N/A N/A False N/A N/A N/A UserError N/A Could not find configuration file (questions): %s configFile N/A data N/A loadConfig configFile encoding encoding N/A entry data N/A N/A question N/A entry N/A question N/A name N/A entry N/A name N/A accept N/A getKey entry accept None N/A required N/A getKey entry required True N/A default N/A getKey entry default None N/A force N/A getKey entry force False N/A N/A N/A self ask question name accept accept required required default default force force N/A autoDelete N/A N/A N/A N/A File rm configFile N/A True N/A executeScript N/A N/A self fileName autoDelete optional encoding N/A True False utf-8 N/A N/A 
        Executes the given script for configuration proposes and deletes the file afterwards (by default).
        Returns True when the file was found and processed.
         N/A N/A N/A N/A N/A os path exists fileName N/A N/A optional N/A N/A False N/A N/A N/A UserError N/A Could not find configuration script: %s configFile N/A env N/A config file self File N/A code N/A N/A N/A open fileName r encoding encoding read N/A N/A compile code N/A N/A N/A os path abspath fileName exec N/A globals env N/A autoDelete N/A N/A N/A N/A File rm jasycreate.py N/A True N/A has N/A N/A self name N/A N/A N/A 
        Returns whether there is a value for the given field name.
         N/A N/A N/A . name N/A N/A N/A name N/A self __data N/A splits N/A N/A name split . N/A current N/A self __data N/A split splits N/A N/A N/A split current N/A N/A current N/A current N/A split N/A N/A False N/A True N/A get N/A N/A self name default N/A None N/A N/A 
        Returns the value of the given field or None when field is not set 
         N/A N/A N/A . name N/A N/A N/A getKey N/A self __data name default N/A splits N/A N/A name split . N/A current N/A self __data N/A split N/A splits N/A -1 N/A N/A N/A split current N/A N/A current N/A current N/A split N/A N/A None N/A N/A getKey current N/A splits N/A -1 default N/A ask N/A N/A self question name accept required default force parse N/A None True None False True N/A N/A 
        Asks the user for value for the given configuration field:

        :param question: Question to ask the user
        :type question: string
        :param name: Name of field to store value in
        :type name: string
        :param accept: Any of the supported types to validate for (see matchesType)
        :type accept: string
        :param required: Whether the field is required
        :type required: boolean
        :param default: Default value whenever user has given no value
         N/A True N/A N/A msg N/A - %s? question N/A N/A accept None N/A N/A msg N/A N/A Console colorize N/A  [%s] accept grey N/A N/A default None N/A N/A msg N/A N/A Console colorize N/A  (%s) name magenta N/A N/A msg N/A N/A Console colorize N/A  (%s=%s) N/A name default magenta N/A msg :  N/A N/A N/A N/A sys stdout write msg N/A N/A N/A force N/A N/A self has name N/A N/A N/A %s %s N/A N/A N/A self get name N/A N/A Console colorize (pre-filled) cyan N/A N/A value N/A N/A N/A input strip N/A N/A N/A required N/A value N/A N/A value default N/A N/A value N/A N/A N/A N/A N/A self set name value accept accept parse parse N/A N/A N/A set N/A N/A self name value accept parse N/A None False N/A N/A 
        Saves the given value under the given field
         N/A N/A value None N/A N/A False N/A parse N/A N/A N/A N/A parsedValue N/A eval value N/A N/A N/A N/A N/A N/A value parsedValue N/A N/A N/A type value N/A tuple set N/A N/A value N/A list value N/A N/A N/A accept None N/A N/A matchesType value accept N/A N/A N/A N/A Console colorize N/A   - Invalid value: %s N/A str value red N/A False N/A N/A . name N/A N/A splits N/A N/A name split . N/A current N/A self __data N/A split N/A splits N/A -1 N/A N/A N/A N/A split current N/A N/A N/A current N/A split N/A N/A current N/A current N/A split N/A N/A current N/A N/A splits N/A -1 value N/A N/A N/A N/A self __data N/A name value N/A True N/A write N/A N/A self fileName indent encoding N/A 2 utf-8 N/A N/A 
        Uses config writer to write the configuration file to the application
         N/A N/A writeConfig N/A self __data fileName indent indent encoding encoding N/A N/A