SpeedyBot-loco
SpeedyBot Loco is a Python library for handling Webex bots and adaptive cards, with an included CLI for easy setup and management.
Warning: Use googles-- highly experimental conversation design infra
pip install speedybot-loco
Library
```python from speedybot import Bot, Cards
bot = Bot(token="your_token") cards = Cards() ```
CLI Flags
| Command | Flag | Description |
|---|---|---|
token |
-t, --token |
Set the bot token |
webhook |
-t, --token |
Set the bot token |
-p, --port |
Port to listen on | |
--path |
Path to send POST requests | |
run |
-t, --token |
Set the bot token |
-f, --file |
Path to the Python file to run |
Sample CLI Commands
Set Bot Token
```bash speedybot-loco token -t abc123 ```
Run Webhook Server
```bash speedybot-loco webhook -t abc123 -p 8080 --path /webhook ```
Run a Python File
```bash speedybot-loco run -t abc123 -f examples/example1/my_bot.py ```
License
This project is licensed under the MIT License - see the LICENSE file for details.
Building and Publishing
Build the distribution
```bash python setup.py sdist bdist_wheel ```
Upload to PyPI
```bash pip install twine twine upload dist/* ```
Trouble shooting
pip uninstall speedybot-loco
pip show speedybot-loco
pip list | grep speedybot-loco
which speedybot-loco
Release files for speedybot-loco 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| speedybot_loco-0.1.1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| speedybot_loco-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / speedybot_loco-0.1.1.tar.gz
| Download URL | speedybot_loco-0.1.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f31c75e737685e706f35186c7a4a9c5c474ce7e20ad7801dfe84e09299d8661
|
|
BLAKE2b-256 checksum How to use checksums |
38a49b5e6d8065fd52676bf798b9d389d4b0300f39bde89a1b73556ffa027b72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.6
|
Release files / speedybot_loco-0.1.1-py3-none-any.whl
| Download URL | speedybot_loco-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79bcd9b21d3c33e405aaf32c29c28b55b37b364c5d742964d2a2bca363fb8bda
|
|
BLAKE2b-256 checksum How to use checksums |
56ee0e6a5ae3e3f0c1c981d0e46344c79997802887761dc80eaf7b65314d3266
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.6
|