Skip to main content

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

See the examples for a simple bot using fastapi.

Release files for gcr_chat 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gcr_chat 0.1.3
File Size Uploaded
gcr_chat-0.1.3.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gcr_chat 0.1.3
File Interpreter ABI Platform
gcr_chat-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / gcr_chat-0.1.3.tar.gz

Download URL gcr_chat-0.1.3.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
00f1d3750471efd45ae0e5ea946713d6a85b50f998d038e86d46bcfde6900c51
BLAKE2b-256 checksum
How to use checksums
c0af0bca922e1b0ddcc7cbc9d99b0efe3b4e44aebad648b222b823f67d0c9a55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.11 Darwin/21.6.0

Release files / gcr_chat-0.1.3-py3-none-any.whl

Download URL gcr_chat-0.1.3-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a86e264bbb72699835b4de3aecea1dff727f6fe985655b382b00fb8a1a3bce97
BLAKE2b-256 checksum
How to use checksums
dc050962cbcceceac1efb4deacc118665fc8b5c17d508f387a83f5cb32812bc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.11 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page