:py:mod:`eelib.data.input.load` =============================== .. py:module:: eelib.data.input.load .. autoapi-nested-parse:: Helper module. Influx Db Connector to load data to Influx Database. | Author: elenia@TUBS | Copyright 2024 elenia | This file is part of eELib, which is free software under the terms of the GNU GPL Version 3. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: eelib.data.input.load.InfluxDbStorage Attributes ~~~~~~~~~~ .. autoapisummary:: eelib.data.input.load.data_path .. py:class:: InfluxDbStorage(influx_url: Optional[str] = None, influx_token: Optional[str] = None, influx_org: Optional[str] = None, influx_bucket: Optional[str] = None) Influx Db Connector class to write pandas dataframes. .. py:attribute:: influx_url .. py:attribute:: influx_token .. py:attribute:: influx_org .. py:attribute:: influx_bucket .. py:attribute:: client .. py:method:: __del__() Delete client connection on delete. .. py:method:: write_pandas_dataframe(df: pandas.DataFrame, name: str, tags: dict[str, str]) -> None Write pandas dataframe to influx database. :param df: Df to write to Influx. :type df: pd.DataFrame :param name: Name of the series. :type name: str :param tags: Tags to add when writing to Influx. :type tags: dict[str, str] .. py:data:: data_path :value: "'.'"