Skip to main content

CrazyShit is a Python library designed for automating tasks for a WhatsApp bot using Selenium. It enables handling of updates and sending messages efficiently.

Project description

CrazyShit

CrazyShit is a Python library for handling automation tasks for a WhatsApp bot using Selenium.

Example Usage

from crazyshit import Client, filters
import asyncio

client = Client(
    "test",
    number="+2011111",
)

@client.on_message(filters.regex(r"^/start$"))
async def start_(bot, msg):
    await bot.send_message(
        to=msg.chat.title,
        text="how are you?"
    )

async def run():
    await client.start()
    print("[!] Running")

loop = asyncio.get_event_loop()
loop.run_until_complete(run())
loop.run_forever()

Features

  • automation tasks for a WhatsApp bot using Selenium.
  • Get updates and send messages.

Requirements

  • Python 3.8 or higher.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crazyshit-0.0.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

crazyshit-0.0.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file crazyshit-0.0.1.tar.gz.

File metadata

  • Download URL: crazyshit-0.0.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for crazyshit-0.0.1.tar.gz
Algorithm Hash digest
SHA256 64b3a4429dfde5edfdd1dab1119caf8832483072edf7939ec2600c8754f6065c
MD5 df9ead8b8e30ff00f7aaa977b5691ddd
BLAKE2b-256 c519dc17b34a2714dc36bbe22c1ba7d003a052ac24e7baaba5c5b8e92baa8fd6

See more details on using hashes here.

File details

Details for the file crazyshit-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: crazyshit-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for crazyshit-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4aa925e5494ded7db5bc863e19119cc0108cc69b45839ceea6c426e8b2d3cb57
MD5 7966ae0ec198ea0ff1795e4cab9de7aa
BLAKE2b-256 bb10a07b813fa90199c9a236e04dd7a559be76e1ae4c1aab619b9c1d8a5a332c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page