openclean_metanome.download module

Helper function to download the Metanome.jar file tha is hosted on Zenodo.

openclean_metanome.download.download_jar(dst: Optional[str] = None, verbose: Optional[bool] = True)

Download the Metanome.jar file.

The file will be stored at the given destination. If no destination is specified, the file will be stored in the default location as defined by the config.JARFILE() method.

The file will only be downloaded if the destination file does not exist.

Parameters
  • dst (str, default=None) – Target pathname for the downloaded file.

  • verbose (bool, default=True) – Print downloaded file target path if True.