AsyncPywhatKit is a Python library with various helpful features. It's easy-to-use and does not require you to do any additional setup. Currently, it is one of the most popular library for WhatsApp and YouTube automation. New updates are released frequently with new features and bug fixes.
- Join our discord server - https://discord.gg/NDXdB6tNwa
- Documentation - Wiki
AsyncPywhatKit is available on PyPi:
python3 -m pip install AsyncPywhatKit
pip3 install AsyncPywhatKit
PyWhatKit officially supports Python 3.8+.
git clone https://github.com/SigireddyBalasai/AsyncPywhatKit
import asyncio
import AsyncPywhatKit
async def main():
# Send a WhatsApp Message to a Contact at 1:30 PM
await AsyncPywhatKit.sendwhatmsg("+910123456789", "Hi", 13, 30)
# Same as above but Closes the Tab in 2 Seconds after Sending the Message
await AsyncPywhatKit.src.sendwhatmsg("+910123456789", "Hi", 13, 30, 15, True, 2)
# Send an Image to a Group with the Caption as Hello
await AsyncPywhatKit.src.sendwhats_image("AB123CDEFGHijklmn", "Images/Hello.png", "Hello")
# Send an Image to a Contact with the no Caption
await AsyncPywhatKit.src.sendwhats_image("+910123456789", "Images/Hello.png")
# Send a WhatsApp Message to a Group at 12:00 AM
await AsyncPywhatKit.src.sendwhatmsg_to_group("AB123CDEFGHijklmn", "Hey All!", 0, 0)
# Send a WhatsApp Message to a Group instantly
await AsyncPywhatKit.src.sendwhatmsg_to_group_instantly("AB123CDEFGHijklmn", "Hey All!")
asyncio.run(main())
For more Examples and Functions, have a look at the Wiki.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Be sure to read the Guidelines before Contributing.
Apache license 2.0 For more information see this