python-seatalk-bot
Inspired by python-telegram-bot (PTB), python-seatalk-bot is also a wrapper you can’t refuse
from seatalk import Update
from seatalk.ext import Application, CommandHandler, CallbackContext
async def hello(update: Update, context: CallbackContext) -> None:
chat_id = update.message.chat.id
await context.bot.send_message(chat_id, f'Hello there')
app = Application('YOUR APP ID HERE', 'YOUR APP SECRET HERE')
app.add_handler(CommandHandler('hello', hello))
app.run_webhook('YOUR SIGNING SECRET HERE', listen='0.0.0.0')
Metadata
Release files for python-seatalk-bot 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_seatalk_bot-1.0.2.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_seatalk_bot-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.6 kB
Release files / python_seatalk_bot-1.0.2.tar.gz
| Download URL | python_seatalk_bot-1.0.2.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c67bd45fb72b06131f48aad8157450fc67a8c0a4d8070e9a6df9752cf550d0f
|
|
BLAKE2b-256 checksum How to use checksums |
57bef72cdba05fe586b4775466bcf2a95b3b072d2ee5aec2afa7fb45ad83b80f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / python_seatalk_bot-1.0.2-py3-none-any.whl
| Download URL | python_seatalk_bot-1.0.2-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
420fee3b8273c1446380fa34516243f86f729304b08c5c7f19b18ff15f9ee9e5
|
|
BLAKE2b-256 checksum How to use checksums |
42d69b8096c54bc637d7afa761730f77d53e0ef849513b3deda83e065d1fc0de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|