httk.task.ht_tasks_api module¶
- httk.task.ht_tasks_api.delete_keyword_line(incar, keyword)[source]¶
Simply checks if a certain keyword is mentioned in a line. If it is, delete the line.
- httk.task.ht_tasks_api.find_loaded_modules(only_versioned_modules=True)[source]¶
Return list of loaded modules for which there is a version number or a Git repository commit SHA.
Return a list of (name, version, path_to_git_repo, git_head_sha), which has an HTML property for pretty display in IPython Notebooks.
- httk.task.ht_tasks_api.find_type_conversion(value)[source]¶
For the string input value, see if it can be converted to a float, an int or a boolean.
- httk.task.ht_tasks_api.get_bashlike_date()[source]¶
Return current date as a formatted string in a similar format what GNU date coreutil returns. Actually, the output format of the date command depends on the Linux distro.