MOAL package

Subpackages

Submodules

MOAL.get_file_tree module

MOAL.get_file_tree.path_hierarchy(path)[source]
CREDITS: http://unix.stackexchange.com/questions/164602/
how-to-output-the-directory-structure-to-json-format
MOAL.get_file_tree.valid(name)[source]

MOAL.modulify module

MOAL.modulify.modulify()[source]
MOAL.modulify.write_init(newpath)[source]

MOAL.test_files module

MOAL.test_files._get_all_files()[source]
MOAL.test_files._result(filepath, exception_info)[source]
MOAL.test_files._view_output_suppressed(popen_args=[])[source]

Optionally view suppressed output. A better alternative to subprocess.call()

# Typical usage in this context: [‘python’, filepath]

MOAL.test_files.fmt_filename(path)[source]