Module Expr Str Import alias Import alias identifier Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias Expr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr orelse Assign NameStore BinOpMod Str Call AttributeLoad Str attr AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args defaults body Return Dict Str NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr orelse If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Str For NameStore Call NameLoad AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpAdd NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr orelse Raise Call NameLoad BinOpMod BinOpAdd Str Str TupleLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args defaults Dict Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Return NameLoad Return CompareEq NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr BinOpAdd BinOpMult BinOpMult AttributeLoad NameLoad attr Num Num AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body FunctionDef arguments args defaults body Return Dict Str Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Return CompareLt BinOpSub Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str AttributeLoad NameLoad attr body Expr Str If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr Str orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr Str orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr Str orelse Raise Call NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Str attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args defaults body Return Dict AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Num body Return Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr Str NameLoad If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args defaults body Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr keyword Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A N/A extra goodies to be used in dodo files N/A os N/A time time_module N/A datetime N/A hashlib N/A operator N/A subprocess N/A exceptions action CmdAction PythonAction task result_dep N/A result_dep create_folder N/A N/A dir_path N/A N/A N/A create a folder in the given path if it doesnt exist yet. N/A N/A N/A os makedirs dir_path exist_ok True N/A title_with_actions N/A N/A task N/A N/A N/A return task name task actions N/A N/A task actions N/A N/A title N/A N/A join N/A N/A str action N/A action N/A task actions N/A N/A title N/A Group: %s N/A N/A ,  join N/A task task_dep N/A N/A %s => %s N/A N/A task name title N/A run_once N/A N/A task values N/A N/A N/A execute task just once
    used when user manually manages a dependency
     save_executed N/A N/A N/A N/A N/A N/A run-once True N/A N/A N/A N/A N/A task value_savers append save_executed N/A N/A N/A values get run-once False N/A config_changed N/A object N/A N/A check if passed config was modified
    @var config (str) or (dict)
     __init__ N/A N/A self config N/A N/A N/A N/A self config config N/A N/A self config_digest None N/A _calc_digest N/A N/A self N/A N/A N/A N/A isinstance N/A self config str N/A N/A N/A self config N/A N/A N/A isinstance N/A self config dict N/A N/A data N/A key N/A sorted N/A self config N/A N/A data N/A key N/A repr N/A N/A self config N/A key N/A byte_data N/A N/A data encode utf-8 N/A N/A N/A N/A N/A hashlib md5 byte_data hexdigest N/A N/A N/A Exception N/A N/A Invalid type of config_changed parameter got %s , must be string or dict N/A N/A type N/A self config N/A configure_task N/A N/A self task N/A N/A N/A N/A N/A N/A task value_savers append N/A N/A N/A N/A N/A _config_changed N/A self config_digest N/A __call__ N/A N/A self task values N/A N/A N/A return True if confing values are UNCHANGED N/A N/A self config_digest N/A N/A self _calc_digest N/A last_success N/A N/A values get _config_changed N/A N/A last_success None N/A N/A False N/A N/A last_success N/A self config_digest N/A N/A timeout N/A object N/A N/A add timeout to task

    @param timeout_limit: (datetime.timedelta, int) in seconds

    if the time elapsed since last time task was executed is bigger than
    the "timeout" time the task is NOT up-to-date
     __init__ N/A N/A self timeout_limit N/A N/A N/A N/A isinstance timeout_limit N/A datetime timedelta N/A N/A N/A self limit_sec N/A N/A N/A N/A timeout_limit days 24 3600 N/A timeout_limit seconds N/A N/A N/A isinstance timeout_limit int N/A N/A N/A self limit_sec timeout_limit N/A N/A msg timeout should be datetime.timedelta or int got %r  N/A N/A Exception N/A msg timeout_limit N/A __call__ N/A N/A self task values N/A N/A save_now N/A N/A N/A N/A N/A N/A success-time N/A N/A time_module time N/A N/A N/A N/A N/A task value_savers append save_now N/A last_success N/A N/A values get success-time None N/A N/A last_success None N/A N/A False N/A N/A N/A N/A N/A time_module time last_success N/A self limit_sec N/A N/A check_timestamp_unchanged N/A object N/A N/A check if timestamp of a given file/dir is unchanged since last run.

    The C{cmp_op} parameter can be used to customize when timestamps are
    considered unchanged, e.g. you could pass L{operator.ge} to also consider
    e.g. files reverted to an older copy as unchanged; or pass a custom
    function to completely customize what unchanged means.

    If the specified file does not exist, an exception will be raised.  Note
    that if the file C{fn} is a target of another task you should probably add
    C{task_dep} on that task to ensure the file is created before checking it.
     __init__ N/A N/A self file_name time cmp_op N/A mtime N/A operator eq N/A N/A initialize the callable

        @param fn: (str) path to file/directory to check
        @param time: (str) which timestamp field to check, can be one of
                     (atime, access, ctime, status, mtime, modify)
        @param cmp_op: (callable) takes two parameters (prev_time, current_time)
                   should return True if the timestamp is considered unchanged

        @raises ValueError: if invalid C{time} value is passed
         N/A N/A time N/A atime access N/A N/A N/A self _timeattr st_atime N/A N/A N/A time N/A ctime status N/A N/A N/A self _timeattr st_ctime N/A N/A N/A time N/A mtime modify N/A N/A N/A self _timeattr st_mtime N/A N/A N/A ValueError N/A time can be one of: atime, access, ctime, status, mtime, modify (got: %r) time N/A N/A self _file_name file_name N/A N/A self _cmp_op cmp_op N/A N/A self _key N/A N/A . join N/A N/A self _file_name N/A self _timeattr N/A _get_time N/A N/A self N/A N/A N/A N/A getattr N/A N/A os stat N/A self _file_name N/A self _timeattr N/A __call__ N/A N/A self task values N/A N/A N/A register action that saves the timestamp and check current timestamp

        @raises OSError: if cannot stat C{self._file_name} file
                         (e.g. doesn't exist)
         save_now N/A N/A N/A N/A N/A N/A N/A self _key N/A N/A self _get_time N/A N/A N/A N/A N/A task value_savers append save_now N/A prev_time N/A N/A values get N/A self _key N/A N/A prev_time None N/A N/A False N/A current_time N/A N/A self _get_time N/A N/A N/A self _cmp_op prev_time current_time N/A N/A LongRunning N/A CmdAction N/A N/A Action to handle a Long running shell process,
    usually a server or service.
    Properties:

        * the output is never captured
        * it is always successful (return code is not used)
        * "swallow" KeyboardInterrupt
     execute N/A N/A self out err N/A None None N/A N/A action N/A N/A self expand_action N/A process N/A N/A subprocess Popen action shell N/A self shell N/A self pkwargs N/A N/A N/A N/A N/A process wait N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A N/A InteractiveAction LongRunning Interactive N/A CmdAction N/A N/A Action to handle Interactive shell process:

       * the output is never captured
     execute N/A N/A self out err N/A None None N/A N/A action N/A N/A self expand_action N/A process N/A N/A subprocess Popen action shell N/A self shell N/A self pkwargs N/A N/A N/A process wait N/A N/A N/A process returncode 0 N/A N/A N/A N/A exceptions TaskFailed N/A Interactive command failed: '%s' returned %s N/A action N/A process returncode N/A N/A PythonInteractiveAction N/A PythonAction N/A N/A Action to handle Interactive python:

       * the output is never captured
       * it is successful unless a exeception is raised
     execute N/A N/A self out err N/A None None N/A N/A kwargs N/A N/A self _prepare_kwargs N/A N/A N/A returned_value N/A N/A self py_callable N/A self args kwargs N/A N/A N/A Exception N/A exception N/A N/A N/A N/A exceptions TaskError PythonAction Error exception N/A N/A isinstance returned_value str N/A N/A N/A self result returned_value N/A N/A N/A isinstance returned_value dict N/A N/A N/A self values returned_value N/A N/A self result returned_value N/A N/A set_trace N/A N/A N/A N/A N/A start debugger, make sure stdout shows pdb output.
    output is not restored.
     N/A pdb N/A sys N/A debugger N/A N/A pdb Pdb stdin N/A sys __stdin__ stdout N/A sys __stdout__ N/A N/A N/A debugger set_trace N/A N/A N/A sys _getframe f_back N/A register_doit_as_IPython_magic N/A N/A N/A N/A N/A 
    Defines a ``%doit`` magic function[1] that discovers and execute tasks
    from IPython's interactive variables (global namespace).

    It will fail if not invoked from within an interactive IPython shell.

    .. Tip::
        To permanently add this magic-function to your IPython, create a new
        script inside your startup-profile
        (``~/.ipython/profile_default/startup/doit_magic.ipy``) with the
        following content:

            from doit.tools import register_doit_as_IPython_magic
            register_doit_as_IPython_magic()

    [1] http://ipython.org/ipython-doc/dev/interactive/tutorial.html#magic-functions
     IPython.core.magic register_line_magic IPython.core.getipython get_ipython doit.cmd_base ModuleTaskLoader doit.doit_cmd DoitMain doit N/A N/A line N/A N/A N/A 
        Run *doit* with `task_creators` from all interactive variables
        (IPython's global namespace).

        Examples:

            >>> %doit --help          ## Show help for options and arguments.

            >>> def task_foo():
                    return {'actions': ['echo hi IPython'],
                            'verbosity': 2}

            >>> %doit list            ## List any tasks discovered.
            foo

            >>> %doit                 ## Run any tasks.
            .  foo
            hi IPython

         N/A ip N/A get_ipython N/A prof_dir N/A N/A ip profile_dir location N/A opt_vals N/A dep_file N/A N/A N/A os path join prof_dir db .doit.db N/A commander N/A DoitMain N/A ModuleTaskLoader N/A ip user_module extra_config N/A GLOBAL opt_vals N/A N/A N/A commander run N/A N/A line split N/A register_line_magic N/A