Python module
Type conversion
|
Flatten a nested list to a one dimensional list. |
|
Squash a dictionary to a single list. |
|
Get an item from a nested dictionary. |
|
Split a key separated by "/" in a list. |
yaml handling
|
Read YAML file and return its content. |
|
Get an item from a YAML file. |
|
Dump data to YAML file. |
|
Print data formatted as YAML. |
File operations
|
Check that all paths point to existing files. |
|
Return list with only the deepest paths. |
|
Get the |
|
(Prompt and) Create directories that do not yet exist. |
|
(Prompt and) List files that will be overwritten if created. |
File-path operations
|
Add prefix to a list of filenames. |
|
Change the root of relative paths. |
Checksum
|
Get sha256 of a file. |
|
Compute the checksums of a list of files. |
ssh queries
|
Check if a file exists on a remote system. |
scp copy
|
Copy a file from a remote system. |
|
Copy a file to a remote system. |
rsync copy and queries
|
Check if files are different using rsync. |
|
Copy files from a remote system. |
|
Copy files to a remote system. |
Formatted print
|
Return dictionary of colors. |
|
Rich string. |
Details
Copy with a memory.
Tom de Geus, 2021, MIT