ncsw_data.source.reaction.rhea ============================== .. py:module:: ncsw_data.source.reaction.rhea .. autoapi-nested-parse:: The ``ncsw_data.source.reaction.rhea`` package initialization module. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/ncsw_data/source/reaction/rhea/rhea/index /autoapi/ncsw_data/source/reaction/rhea/utility/index Classes ------- .. autoapisummary:: ncsw_data.source.reaction.rhea.RheaReactionDatabase Package Contents ---------------- .. py:class:: RheaReactionDatabase(logger: Optional[logging.Logger] = None) Bases: :py:obj:`ncsw_data.source.base.base.DataSourceBase` The `Rhea `_ chemical reaction database 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] Get the supported versions of the database. :returns: The supported versions of the database. .. py:method:: download(version: str, output_directory_path: Union[str, os.PathLike[str]], **kwargs) -> None Download the data from the database. :parameter version: The version of the database. :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 database. :parameter version: The version of the database. :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 database. :parameter version: The version of the database. :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.