ncsw_data.source.compound.coconut.utility

The ncsw_data.source.compound.coconut.utility package initialization module.

Submodules

Classes

COCONUTCompoundDatabaseDownloadUtility

The COCONUT chemical compound database download utility class.

COCONUTCompoundDatabaseExtractionUtility

COCONUTCompoundDatabaseFormattingUtility

Package Contents

class ncsw_data.source.compound.coconut.utility.COCONUTCompoundDatabaseDownloadUtility

The COCONUT chemical compound database download utility class.

static download_v_2_0_by_20241126_chandrasekhar_v_et_al(version: str, output_directory_path: str | os.PathLike[str]) None

Download the data from a v_2_0_*_by_20241126_chandrasekhar_v_et_al version of the database.

Parameters:
  • version – The version of the database.

  • output_directory_path – The path to the output directory where the data should be downloaded.

class ncsw_data.source.compound.coconut.utility.COCONUTCompoundDatabaseExtractionUtility

The COCONUT chemical compound database extraction utility class.

static extract_v_2_0_by_20241126_chandrasekhar_v_et_al(version: str, input_directory_path: str | os.PathLike[str], output_directory_path: str | os.PathLike[str]) None

Extract the data from a v_2_0_*_by_20241126_chandrasekhar_v_et_al version of the database.

Parameters:
  • version – The version of the database.

  • input_directory_path – The path to the input directory where the data is downloaded.

  • output_directory_path – The path to the output directory where the data should be extracted.

class ncsw_data.source.compound.coconut.utility.COCONUTCompoundDatabaseFormattingUtility

The COCONUT chemical compound database formatting utility class.

static format_v_2_0_by_20241126_chandrasekhar_v_et_al(version: str, input_directory_path: str | os.PathLike[str], output_directory_path: str | os.PathLike[str]) None

Format the data from a v_2_0_*_by_20241126_chandrasekhar_v_et_al version of the database.

Parameters:
  • version – The version of the database.

  • input_directory_path – The path to the input directory where the data is extracted.

  • output_directory_path – The path to the output directory where the data should be formatted.