pygeodes.utils.io#
This module regroups all functions related to file INPUT/OUTPUT
Functions
The goal of this function is to check if, in the folder of the filepath provided, it already exists a file with the same checksum as the one provided, with in aim not to download several times the same file. |
|
|
Computes md5sum of the contents of the given filepath |
|
This checks if the file exists, and, in function of a boolean parameter, raises an exception if it doesn't |
|
This functions checks if a filename is in a folder |
|
This functions find all the filenames in a list of filenames matching a given regex |
|
This functions finds an unused filename for the filepath provided by adding -{number} after |
To get the home directory path of the current user |
|
|
This functions loads a JSON into a Python dict from a filepath |
|
This function returns the |
|
|
|
This functions dumps a dict at a filepath |