Skip to content

Latest commit

 

History

History
73 lines (42 loc) · 4.63 KB

File metadata and controls

73 lines (42 loc) · 4.63 KB
graph LR
    InfluxDB_Client_Core["InfluxDB Client Core"]
    InfluxDB_0_8_Client["InfluxDB 0.8 Client"]
    Data_Serialization_Layer["Data Serialization Layer"]
    Result_Parsing_Layer["Result Parsing Layer"]
    Pandas_DataFrame_Integration["Pandas DataFrame Integration"]
    InfluxDB_Client_Core -- "uses" --> Data_Serialization_Layer
    InfluxDB_Client_Core -- "uses" --> Result_Parsing_Layer
    InfluxDB_0_8_Client -- "uses" --> Data_Serialization_Layer
    InfluxDB_0_8_Client -- "uses" --> Result_Parsing_Layer
    Pandas_DataFrame_Integration -- "delegates to" --> InfluxDB_Client_Core
    Pandas_DataFrame_Integration -- "delegates to" --> InfluxDB_0_8_Client
    click InfluxDB_Client_Core href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/influxdb-python/InfluxDB_Client_Core.md" "Details"
    click InfluxDB_0_8_Client href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/influxdb-python/InfluxDB_0_8_Client.md" "Details"
    click Pandas_DataFrame_Integration href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/influxdb-python/Pandas_DataFrame_Integration.md" "Details"
Loading

CodeBoardingDemoContact

Details

The influxdb-python library is architected as a client-side facade for the InfluxDB database, providing distinct pathways for interacting with current and legacy (0.8) InfluxDB APIs. The core of the library revolves around the InfluxDB Client Core and InfluxDB 0.8 Client components, which manage the fundamental communication with the database. These clients rely on the Data Serialization Layer to prepare data for ingestion and the Result Parsing Layer to interpret query responses, ensuring a consistent data flow. For enhanced usability, the Pandas DataFrame Integration component acts as a high-level abstraction, allowing users to seamlessly interact with InfluxDB using familiar DataFrame structures, which in turn delegate their operations to the appropriate underlying client (current or 0.8). This layered approach promotes modularity, reusability, and clear separation of concerns, making the library adaptable and easy to maintain.

InfluxDB Client Core [Expand]

The primary interface for interacting with the current InfluxDB API, handling connection, request dispatch, query execution, and data ingestion.

Related Classes/Methods:

InfluxDB 0.8 Client [Expand]

A dedicated compatibility layer for interacting with InfluxDB 0.8 servers, encapsulating version-specific API interactions.

Related Classes/Methods:

Data Serialization Layer

Responsible for converting Python data structures into the InfluxDB Line Protocol format for data writing.

Related Classes/Methods:

Result Parsing Layer

Transforms raw JSON responses from InfluxDB queries into structured Python objects.

Related Classes/Methods:

Pandas DataFrame Integration [Expand]

Provides a high-level interface for reading and writing data using pandas DataFrames, abstracting underlying client operations. This component encompasses both current and 0.8 API integrations.

Related Classes/Methods: