Chatbot command parsing library to be used in conjunction with Google Cloud Run and GSuite Chat.
Project description
GCR Chat
A simple chatbot framework for working with Google Cloud Run & PubSub messages.
Exports
Bot- The main bot class.PubSubMessageRequest- A wrapper around a PubSub message, decodes the message using__str__BotException- Base exception for the module, other exceptions inherit from this.ArgumentParserError- When the bot fails to parse provided arguments.CommandNotFoundError- When the bot cannot look up a function with the same name as the command provided.InvalidArgumentsError- When the provided arguments do not match the command function's expected arguments.
Examples
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
gcr_chat-0.1.3.tar.gz
(4.7 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 gcr_chat-0.1.3.tar.gz.
File metadata
- Download URL: gcr_chat-0.1.3.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.11 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00f1d3750471efd45ae0e5ea946713d6a85b50f998d038e86d46bcfde6900c51
|
|
| MD5 |
42f255b62b3618b2e6cfc4016e4cbd26
|
|
| BLAKE2b-256 |
c0af0bca922e1b0ddcc7cbc9d99b0efe3b4e44aebad648b222b823f67d0c9a55
|
File details
Details for the file gcr_chat-0.1.3-py3-none-any.whl.
File metadata
- Download URL: gcr_chat-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.11 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a86e264bbb72699835b4de3aecea1dff727f6fe985655b382b00fb8a1a3bce97
|
|
| MD5 |
3aad8a33cc5c042ce239a2ea0287e704
|
|
| BLAKE2b-256 |
dc050962cbcceceac1efb4deacc118665fc8b5c17d508f387a83f5cb32812bc2
|