ncsw_data.source.compound.miscellaneous ======================================= .. py:module:: ncsw_data.source.compound.miscellaneous .. autoapi-nested-parse:: The ``ncsw_data.source.compound.miscellaneous`` package initialization module. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/ncsw_data/source/compound/miscellaneous/miscellaneous/index /autoapi/ncsw_data/source/compound/miscellaneous/utility/index Classes ------- .. autoapisummary:: ncsw_data.source.compound.miscellaneous.MiscellaneousCompoundDataSource Package Contents ---------------- .. py:class:: MiscellaneousCompoundDataSource(logger: Optional[logging.Logger] = None) Bases: :py:obj:`ncsw_data.source.base.base.DataSourceBase` The miscellaneous chemical compound data source class. The `__init__` method of the class. :parameter logger: The logger. The value `None` indicates that the logger should not be utilized. .. py:method:: get_supported_versions() -> Dict[str, str] :staticmethod: Get the supported versions of the data source. :returns: The supported versions of the data source. .. py:method:: download(version: str, output_directory_path: Union[str, os.PathLike[str]], **kwargs) -> None Download the data from the data source. :parameter version: The version of the data source. :parameter output_directory_path: The path to the output directory where the data should be downloaded. .. py:method:: extract(version: str, input_directory_path: Union[str, os.PathLike[str]], output_directory_path: Union[str, os.PathLike[str]], **kwargs) -> None Extract the data from the data source. :parameter version: The version of the data source. :parameter input_directory_path: The path to the input directory where the data is downloaded. :parameter output_directory_path: The path to the output directory where the data should be extracted. .. py:method:: format(version: str, input_directory_path: Union[str, os.PathLike[str]], output_directory_path: Union[str, os.PathLike[str]], **kwargs) -> None Format the data from the data source. :parameter version: The version of the data source. :parameter input_directory_path: The path to the input directory where the data is extracted. :parameter output_directory_path: The path to the output directory where the data should be formatted.