graph LR
User_Interface_Client["User Interface/Client"]
PyWhatKit_API_Facade["PyWhatKit API Facade"]
WhatsApp_Automation_Module["WhatsApp Automation Module"]
Email_Automation_Module["Email Automation Module"]
Remote_Control_Module["Remote Control Module"]
Image_Text_Transformation_Module["Image & Text Transformation Module"]
Core_Web_System_Utilities["Core Web & System Utilities"]
External_Services["External Services"]
User_Interface_Client -- "initiates requests to" --> PyWhatKit_API_Facade
PyWhatKit_API_Facade -- "delegates WhatsApp tasks to" --> WhatsApp_Automation_Module
PyWhatKit_API_Facade -- "delegates email sending to" --> Email_Automation_Module
PyWhatKit_API_Facade -- "delegates remote control commands to" --> Remote_Control_Module
PyWhatKit_API_Facade -- "delegates image/text processing to" --> Image_Text_Transformation_Module
WhatsApp_Automation_Module -- "utilizes" --> Core_Web_System_Utilities
Email_Automation_Module -- "communicates with" --> External_Services
Remote_Control_Module -- "communicates with" --> External_Services
Core_Web_System_Utilities -- "interacts with" --> External_Services
click PyWhatKit_API_Facade href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyWhatKit/PyWhatKit_API_Facade.md" "Details"
click Remote_Control_Module href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyWhatKit/Remote_Control_Module.md" "Details"
click Core_Web_System_Utilities href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyWhatKit/Core_Web_System_Utilities.md" "Details"
The PyWhatKit library is designed with a clear separation of concerns, centered around a PyWhatKit API Facade that serves as the primary interaction point for external User Interface/Client applications. This facade orchestrates requests by delegating specific tasks to specialized internal modules: WhatsApp Automation Module, Email Automation Module, Remote Control Module, and Image & Text Transformation Module. These modules encapsulate the logic for their respective domains. A foundational Core Web & System Utilities module provides low-level browser and system interaction capabilities, serving as a dependency for web-based automation. All modules requiring external communication interact with External Services such as WhatsApp Web, YouTube, SMTP servers, or remote phone clients, ensuring a clear boundary between the library's internal logic and external dependencies. This architecture promotes modularity, maintainability, and clear data flow, making it well-suited for both documentation and visual diagram generation.
Represents the external user or application initiating commands and data to the PyWhatKit library. This component is external to the PyWhatKit codebase and thus has no internal source code references.
Related Classes/Methods: None
PyWhatKit API Facade [Expand]
The central entry point and orchestrator of the library. It provides a simplified, high-level interface to all underlying functionalities, abstracting their complexities.
Related Classes/Methods:
Dedicated to automating interactions with WhatsApp Web, including sending messages, images, and managing contacts. It leverages core web utilities for browser control.
Related Classes/Methods:
Manages the functionality for sending emails, supporting both plain text and HTML formats, by communicating with external SMTP servers.
Related Classes/Methods:
Remote Control Module [Expand]
Implements the server-side logic for remote control features, enabling external clients (e.g., a phone) to interact with and control the system running PyWhatKit.
Related Classes/Methods:
Provides utilities for creative text and image manipulations, specifically converting images/text into ASCII art and generating handwriting-style text.
Related Classes/Methods:
Core Web & System Utilities [Expand]
A foundational module providing low-level utilities for web browser interaction (e.g., opening pages, finding elements, handling images) and general system-level operations (e.g., screenshots, process management). It serves as a dependency for web-based automation modules.
Related Classes/Methods:
Represents all external systems PyWhatKit interacts with, including WhatsApp Web, YouTube, SMTP servers for email, and phone clients for remote control. This component is external to the PyWhatKit codebase and thus has no internal source code references.
Related Classes/Methods: None