Name | crazyshit JSON |
Version |
0.0.1
JSON |
| download |
home_page | None |
Summary | CrazyShit is a Python library designed for automating tasks for a WhatsApp bot using Selenium. It enables handling of updates and sending messages efficiently. |
upload_time | 2024-06-27 18:04:12 |
maintainer | None |
docs_url | None |
author | virus |
requires_python | >=3.8 |
license | None |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# CrazyShit
CrazyShit is a Python library for handling automation tasks for a WhatsApp bot using Selenium.
## Example Usage
```python
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.
Raw data
{
"_id": null,
"home_page": null,
"name": "crazyshit",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "virus",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/c5/19/dc17b34a2714dc36bbe22c1ba7d003a052ac24e7baaba5c5b8e92baa8fd6/crazyshit-0.0.1.tar.gz",
"platform": null,
"description": "# CrazyShit\n\nCrazyShit is a Python library for handling automation tasks for a WhatsApp bot using Selenium.\n\n## Example Usage\n\n```python\nfrom crazyshit import Client, filters\nimport asyncio\n\nclient = Client(\n \"test\",\n number=\"+2011111\",\n)\n\n@client.on_message(filters.regex(r\"^/start$\"))\nasync def start_(bot, msg):\n await bot.send_message(\n to=msg.chat.title,\n text=\"how are you?\"\n )\n\nasync def run():\n await client.start()\n print(\"[!] Running\")\n\nloop = asyncio.get_event_loop()\nloop.run_until_complete(run())\nloop.run_forever()\n```\n\n## Features\n- automation tasks for a WhatsApp bot using Selenium.\n- Get updates and send messages.\n\n## Requirements\n- Python 3.8 or higher.\n",
"bugtrack_url": null,
"license": null,
"summary": "CrazyShit is a Python library designed for automating tasks for a WhatsApp bot using Selenium. It enables handling of updates and sending messages efficiently.",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/dev-virous/CrazyShit",
"Issues": "https://github.com/dev-virous/CrazyShit/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bb10a07b813fa90199c9a236e04dd7a559be76e1ae4c1aab619b9c1d8a5a332c",
"md5": "7966ae0ec198ea0ff1795e4cab9de7aa",
"sha256": "4aa925e5494ded7db5bc863e19119cc0108cc69b45839ceea6c426e8b2d3cb57"
},
"downloads": -1,
"filename": "crazyshit-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7966ae0ec198ea0ff1795e4cab9de7aa",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 8212,
"upload_time": "2024-06-27T18:04:07",
"upload_time_iso_8601": "2024-06-27T18:04:07.709470Z",
"url": "https://files.pythonhosted.org/packages/bb/10/a07b813fa90199c9a236e04dd7a559be76e1ae4c1aab619b9c1d8a5a332c/crazyshit-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c519dc17b34a2714dc36bbe22c1ba7d003a052ac24e7baaba5c5b8e92baa8fd6",
"md5": "df9ead8b8e30ff00f7aaa977b5691ddd",
"sha256": "64b3a4429dfde5edfdd1dab1119caf8832483072edf7939ec2600c8754f6065c"
},
"downloads": -1,
"filename": "crazyshit-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "df9ead8b8e30ff00f7aaa977b5691ddd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 6444,
"upload_time": "2024-06-27T18:04:12",
"upload_time_iso_8601": "2024-06-27T18:04:12.699246Z",
"url": "https://files.pythonhosted.org/packages/c5/19/dc17b34a2714dc36bbe22c1ba7d003a052ac24e7baaba5c5b8e92baa8fd6/crazyshit-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-27 18:04:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dev-virous",
"github_project": "CrazyShit",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "crazyshit"
}