acidbase.download

acidbase.download(url: str, dest: str | Path | None = None) str

Download a file from url.

Parameters:
  • url (str) – URL to download.

  • dest (str or Path, optional) – Destination path. Defaults to the current directory using the URL basename.

Returns:

Absolute path to the downloaded file.

Return type:

str