Skip to content

Generic

check_path(path)

Convert string path to Path and check path existences.

PARAMETER DESCRIPTION
path

Union[str, Path]

TYPE: Union[str, Path]

RETURNS DESCRIPTION
Path

Path

Exception
  • Not recognized path
  • {path} doesn't exists.

download_from_url(url, destination)

Download file from url.

PARAMETER DESCRIPTION
url

str

TYPE: str

destination

Path

TYPE: Path

make_folder(destination_folder)

Make folder from path.

PARAMETER DESCRIPTION
destination_folder

Path

TYPE: Path