Use googles-- highly experimental conversation design infra
Project description
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
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
Built Distribution
File details
Details for the file speedybot_loco-0.1.1.tar.gz
.
File metadata
- Download URL: speedybot_loco-0.1.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f31c75e737685e706f35186c7a4a9c5c474ce7e20ad7801dfe84e09299d8661 |
|
MD5 | 73120beb7811a3ccfdf2d9356874d90a |
|
BLAKE2b-256 | 38a49b5e6d8065fd52676bf798b9d389d4b0300f39bde89a1b73556ffa027b72 |
File details
Details for the file speedybot_loco-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: speedybot_loco-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79bcd9b21d3c33e405aaf32c29c28b55b37b364c5d742964d2a2bca363fb8bda |
|
MD5 | 4263b4b15c3793d492a9eecf64fd9e1b |
|
BLAKE2b-256 | 56ee0e6a5ae3e3f0c1c981d0e46344c79997802887761dc80eaf7b65314d3266 |