Sisyphe.core.sisypheDownload

External packages/modules

Sisyphe.core.sisypheDownload.downloadFromHost(urls: str | list[str], dst: str = 'C:\\Users\\lotte\\PycharmProjects\\PythonProject3.10\\SPHINX\\source', info: str = '', wait: DialogWait | None = None) None

Download file from mega.nz url link.

Parameters

urlsstr | list[str]

list of the mega.nz download links

dststr

destination folder, files are saved in dst folder

infostr

installation name displayed in wait dialog

waitSisyphe.gui.dialogWait.DialogWait

progress bar dialog (optional)

Sisyphe.core.sisypheDownload.installFromHost(urls: str | list[str], temp: str = 'C:\\Users\\lotte\\PycharmProjects\\PythonProject3.10\\SPHINX\\source', dst: str = '', info: str = '', wait: DialogWait | None = None) None

Download and install files from mega.nz url links.

Parameters

urlsstr | list[str]

list of url

tempstr

temporary folder, files are saved in temp folder

dststr

destination folder, files are recursively copied from temp to dst

infostr

installation name displayed in wait dialog

waitSisyphe.gui.dialogWait.DialogWait

progress bar dialog (optional)

Sisyphe.core.sisypheDownload.updatePySisyphe(wait: DialogWait | None = None) None

Download and install last version of PySisyphe.

Parameters

waitSisyphe.gui.dialogWait.DialogWait

progress bar dialog (Optional)