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
rm -rf dist build *.egg-info
twine upload dist/*
twine upload --skip-existing dist/*
```
Trouble shooting
pip uninstall speedybot-loco
pip show speedybot-loco
pip list | grep speedybot-loco
which speedybot-loco
Project details
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 speedybottinker-0.1.6.tar.gz
.
File metadata
- Download URL: speedybottinker-0.1.6.tar.gz
- Upload date:
- Size: 6.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 | 0cccbc64b5ab81c7cf4d8e8170cf937d91e0e84ce348314ec8325b3d14fc959d |
|
MD5 | c0995d6fe09d56f6faddc282f8b6aff9 |
|
BLAKE2b-256 | 673afd74c535abae6769923a4ecee2d24fe524a4019bc01e7dbc8e505216d26f |
File details
Details for the file speedybottinker-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: speedybottinker-0.1.6-py3-none-any.whl
- Upload date:
- Size: 6.2 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 | 0b2eb62b735078792b9975b577468286dfc1937e9aacfaac11fb68c00ab1fd86 |
|
MD5 | d5d4e7d6bb8145382a99c01026f64b2b |
|
BLAKE2b-256 | 9bde107b598bf9feb305dd90aeec57babe94e030315eff1396de5ce453ab3f92 |