gcr_chat


Namegcr_chat JSON
Version 0.1.3 PyPI version JSON
download
home_pageNone
SummaryChatbot command parsing library to be used in conjunction with Google Cloud Run and GSuite Chat.
upload_time2024-04-25 23:33:22
maintainerNone
docs_urlNone
authorSam Kenney
requires_python<4.0,>=3.11
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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`](/examples/) for a simple bot using [`fastapi`](https://fastapi.tiangolo.com/).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gcr_chat",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": null,
    "author": "Sam Kenney",
    "author_email": "sam.kenney@me.com",
    "download_url": "https://files.pythonhosted.org/packages/c0/af/0bca922e1b0ddcc7cbc9d99b0efe3b4e44aebad648b222b823f67d0c9a55/gcr_chat-0.1.3.tar.gz",
    "platform": null,
    "description": "# GCR Chat\n\nA simple chatbot framework for working with Google Cloud Run & PubSub messages.\n\n## Exports\n\n* `Bot` - The main bot class.\n* `PubSubMessageRequest` - A wrapper around a PubSub message, decodes the message using `__str__`\n* `BotException` - Base exception for the module, other exceptions inherit from this.\n* `ArgumentParserError` - When the bot fails to parse provided arguments.\n* `CommandNotFoundError` - When the bot cannot look up a function with the same name as the command provided.\n* `InvalidArgumentsError` - When the provided arguments do not match the command function's expected arguments.\n\n## Examples\n\nSee the [`examples`](/examples/) for a simple bot using [`fastapi`](https://fastapi.tiangolo.com/).\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Chatbot command parsing library to be used in conjunction with Google Cloud Run and GSuite Chat.",
    "version": "0.1.3",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dc050962cbcceceac1efb4deacc118665fc8b5c17d508f387a83f5cb32812bc2",
                "md5": "3aad8a33cc5c042ce239a2ea0287e704",
                "sha256": "a86e264bbb72699835b4de3aecea1dff727f6fe985655b382b00fb8a1a3bce97"
            },
            "downloads": -1,
            "filename": "gcr_chat-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3aad8a33cc5c042ce239a2ea0287e704",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 5944,
            "upload_time": "2024-04-25T23:33:21",
            "upload_time_iso_8601": "2024-04-25T23:33:21.846880Z",
            "url": "https://files.pythonhosted.org/packages/dc/05/0962cbcceceac1efb4deacc118665fc8b5c17d508f387a83f5cb32812bc2/gcr_chat-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c0af0bca922e1b0ddcc7cbc9d99b0efe3b4e44aebad648b222b823f67d0c9a55",
                "md5": "42f255b62b3618b2e6cfc4016e4cbd26",
                "sha256": "00f1d3750471efd45ae0e5ea946713d6a85b50f998d038e86d46bcfde6900c51"
            },
            "downloads": -1,
            "filename": "gcr_chat-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "42f255b62b3618b2e6cfc4016e4cbd26",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 4650,
            "upload_time": "2024-04-25T23:33:22",
            "upload_time_iso_8601": "2024-04-25T23:33:22.929398Z",
            "url": "https://files.pythonhosted.org/packages/c0/af/0bca922e1b0ddcc7cbc9d99b0efe3b4e44aebad648b222b823f67d0c9a55/gcr_chat-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-25 23:33:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gcr_chat"
}
        
Elapsed time: 0.23191s