Threaded Selenium bot for Zeppy chat automation
Project description
zeppybot
zeppybot is a threaded Selenium helper that automates chatting on Zeppy.
Features
- wraps Selenium Chrome webdriver with sensible defaults
- polls public chat, exposes new messages, and lets you override
Bot.update() - supports optional whisper functionality when running on Windows profiles
Installation
pip install zeppybot
Quick start
from zeppybot import Bot
class HelloBot(Bot):
def __init__(self,number):
super().__init__(f"HelloBot {number}","https://zep.us/play/Example",login=True)
def update(self):
for chat in self.new_chat:
if chat.text == "Hello":
self.public_chat(f"Hello, {chat.name}")
self.whisper(chat.name,"I'm zeppy bot")
self.press_key("z")
bot = HelloBot()
bot.start()
Development
- Create a virtual environment and install the project in editable mode:
python -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install --upgrade pip pip install -e .
- Install build tooling:
pip install build twine
- Build artifacts for distribution:
python -m build
- Upload to PyPI (replace with TestPyPI first if needed):
python -m twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zeppybot-0.1.0.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zeppybot-0.1.0.tar.gz.
File metadata
- Download URL: zeppybot-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
beccfdec65f7f5b7b9ce9c1b3b6489d71823d12ae54fcf8ccd913082bb479060
|
|
| MD5 |
de4a567431b464baea99098abbe361cc
|
|
| BLAKE2b-256 |
f9a519b5f973378986d5963962dd0dc8b441672b10e4f497e3cc5836f81014eb
|
File details
Details for the file zeppybot-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zeppybot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b9e067b811017d211691343f36e0b11913b09a5ecfb2ddbfeb271fefdfb94de
|
|
| MD5 |
470c2f8a3c763df933950524c22277b0
|
|
| BLAKE2b-256 |
fb83b57f6c481943b264ffcad6ee46d29bec25f2415be9fa38f34cd56585952e
|