add_to_zip (zip_path, dirs_to_add)
|
Add folders to an already existing zip file (recursively). |
archive (folder_path, archive_path[, fmt])
|
Archives a folder recursively. |
copy (src, dst)
|
Copy a file or a directory (recursively) with copytree or copy2 . |
extract_file (file_path, output[, overwrite])
|
Extract an archived file (zip or others). |
extract_files (archives, output[, overwrite])
|
Extract all archived files. |
find_files (names, root_paths[, ...])
|
|
get_archived_file_list (archive_path)
|
|
get_archived_path (archive_path, file_regex)
|
|
get_archived_rio_path (archive_path, file_regex)
|
|
get_ext (file_path)
|
|
get_file_in_dir (directory, pattern_str[, ...])
|
|
get_filename (file_path[, other_exts])
|
|
get_root_path ()
|
|
hash_file_content (file_content[, len_param])
|
Hash a file into a unique str. |
is_writable (dir_path)
|
|
listdir_abspath (directory)
|
|
load_obj (path)
|
Load a pickled object. |
read_archived_file (archive_path, regex[, ...])
|
Read archived file (in bytes) from zip or tar archives. |
read_archived_html (archive_path, regex[, ...])
|
Read archived HTML from zip or tar archives. |
read_archived_xml (archive_path[, regex, ...])
|
Read archived XML from zip or tar archives. |
read_json (json_file[, print_file])
|
Read a JSON file |
real_rel_path (raw_path, start)
|
|
remove (path)
|
Deletes a file or a directory (recursively) using shutil.rmtree or os.remove . |
remove_by_pattern (directory[, ...])
|
Remove files corresponding to a pattern from a directory. |
save_json (json_dict, output_json, **kwargs)
|
|
save_obj (obj, path, **kwargs)
|
Save an object as a pickle (can save any Python objects). |
to_abspath (raw_path[, create, ...])
|
|