src package
Subpackages
Submodules
src.ascii_art module
src.handwriting module
src.mail module
src.misc module
- async src.misc.info(topic: str, lines: int = 3, return_value: bool = False)[source]
Gives Information on the Topic
src.remotekit module
src.sc module
src.whats module
- async src.whats.sendimg_or_video_immediately(phone_no: str, path: str, wait_time: int = 15, tab_close: bool = False, close_time: int = 3) None [source]
Send an image or video file via WhatsApp instantly.
This function opens a new tab in the default web browser, navigates to the WhatsApp web page, and sends an image or video file to the specified phone number.
Parameters: phone_no: The phone number to send the file to. path: The file path of the image or video file to be sent. wait_time: The time to wait before sending the file (in seconds). tab_close: A flag indicating whether to close the tab after sending the file. close_time: The time to wait before closing the tab (in seconds).
Returns: None.
- async src.whats.sendwhatmsg(phone_no: str = None, message: str = None, time_hour: int = None, time_min: int = None, wait_time: int = 15, tab_close: bool = False, close_time: int = 3) None [source]
Send a WhatsApp message at a certain time.
This function schedules the sending of a WhatsApp message to a specified phone number at a specified time.
Parameters: phone_no: The phone number to send the message to. message: The message to be sent. time_hour: The hour at which to send the message (in 24-hour format). time_min: The minute at which to send the message. wait_time: The time to wait before sending the message (in seconds). tab_close: A flag indicating whether to close the tab after sending the message. close_time: The time to wait before closing the tab (in seconds).
Returns: None.
- async src.whats.sendwhatmsg_instantly(message: str, phone_no: str, wait_time: int = 15, tab_close: bool = True, close_time: int = 3) None [source]
Send a WhatsApp message instantly.
This function opens a new tab in the default web browser, navigates to the WhatsApp web page, and sends a message to the specified phone number.
Parameters: message: The message to be sent. phone_no: The phone number to send the message to. wait_time: The time to wait before sending the message (in seconds). tab_close: A flag indicating whether to close the tab after sending the message. close_time: The time to wait before closing the tab (in seconds).
Returns: None.
- async src.whats.sendwhatmsg_to_group(group_id: str, message: str, time_hour: int, time_min: int, wait_time: int = 15, tab_close: bool = False, close_time: int = 3) None [source]
Send a WhatsApp message to a group at a certain time.
This function schedules the sending of a WhatsApp message to a specified group at a specified time.
Parameters: group_id: The ID of the group to send the message to. message: The message to be sent. time_hour: The hour at which to send the message (in 24-hour format). time_min: The minute at which to send the message. wait_time: The time to wait before sending the message (in seconds). tab_close: A flag indicating whether to close the tab after sending the message. close_time: The time to wait before closing the tab (in seconds).
Returns: None.
- async src.whats.sendwhatmsg_to_group_instantly(group_id: str, message: str, wait_time: int = 15, tab_close: bool = False, close_time: int = 3) None [source]
Send a WhatsApp message to a group instantly.
This function opens the WhatsApp Web page in a new tab and sends a message to the specified group.
Parameters: group_id: The ID of the group to send the message to. message: The message to be sent. wait_time: The time to wait before sending the message (in seconds). tab_close: A flag indicating whether to close the tab after sending the message. close_time: The time to wait before closing the tab (in seconds).
Returns: None.
- async src.whats.sendwhatsdoc_immediately(phone_no: str, path: str, wait_time: int = 15, tab_close: bool = True, close_time: int = 3) None [source]
Send a WhatsApp document instantly.
This function opens a new tab in the default web browser, navigates to the WhatsApp web page, and sends a document to the specified phone number.
Parameters: phone_no: The phone number to send the document to. path: The file path of the document to be sent. wait_time: The time to wait before sending the document (in seconds). tab_close: A flag indicating whether to close the tab after sending the document. close_time: The time to wait before closing the tab (in seconds).
Returns: None.
- async src.whats.sendwhatsmsg_to_all(phone_nos: List[str], message: str, time_hour: int, time_min: int, wait_time: int = 15, tab_close: bool = False, close_time: int = 3) None [source]
Send a WhatsApp message to a list of phone numbers at a certain time.
This function schedules the sending of a WhatsApp message to a list of specified phone numbers at a specified time.
Parameters: phone_nos: The list of phone numbers to send the message to. message: The message to be sent. time_hour: The hour at which to send the message (in 24-hour format). time_min: The minute at which to send the message. wait_time: The time to wait before sending the message (in seconds). tab_close: A flag indicating whether to close the tab after sending the message. close_time: The time to wait before closing the tab (in seconds).
Returns: None.