slack-bolt-router


Nameslack-bolt-router JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://dmytrohoi.github.io/slack-bolt-router/
SummarySlack Bolt Router
upload_time2023-01-24 19:10:02
maintainer
docs_urlNone
authorDmytro Hoi
requires_python>=3.6,<4.0
licenseMIT
keywords slack slack-bolt slack-bolt plugin slack-bolt router
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## slack-bolt-router

[![Python Versions](https://badgen.net/pypi/python/slack-bolt-router)](https://pypi.org/project/slack-bolt-router/)
[![Slack-Bolt Version](https://badgen.net/badge/icon/%5E1.10.0?icon=slack&label=slack-bolt)]()
[![Release](https://badgen.net/github/release/dmytrohoi/slack-bolt-router)](https://github.com/dmytrohoi/slack-bolt-router/releases)
[![License](https://badgen.net/github/license/dmytrohoi/slack-bolt-router)](https://github.com/dmytrohoi/slack-bolt-router/blob/master/LICENSE)

### Description

The slack-bolt-router package it is a helper utility that can collect and add
routes for the Slack Application.

Current compatible slack-bolt version is __1.10.0__.

_NOTE: This package may be affected by major updates to the Slack-bolt library,
and may not contain additional routes from a future release._

### Usage

Install from pip:

``` sh
python3 -m pip install slack-bolt-router
```

Import router to file with your handler functions:

```python
from slack_bolt_router import Router
```

Start to use routers in your bot application:
```python
router = Router()

@router.register(type="view")
def example_submit(ack):
    ack()

router.apply_to(app)
```

__[Examples of usage](https://github.com/dmytrohoi/slack-bolt-router/blob/master/examples)__

### Contribution

1. Clone repo
2. Run `poetry install`
3. Make some changes and commit to new branch
4. Create pull request and add some information about changes in PR
5. Add project author to PR Reviewers

### Author

_You can sponsorship this project by links in github repo._

Author personal website: https://hoid.dev

(c) Dmytro Hoi <code@dmytrohoi.com>, 2021 | MIT License

            

Raw data

            {
    "_id": null,
    "home_page": "https://dmytrohoi.github.io/slack-bolt-router/",
    "name": "slack-bolt-router",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6,<4.0",
    "maintainer_email": "",
    "keywords": "slack,slack-bolt,slack-bolt plugin,slack-bolt router",
    "author": "Dmytro Hoi",
    "author_email": "code@dmytrohoi.com",
    "download_url": "https://files.pythonhosted.org/packages/08/a7/8943274489cde1ed5a4a066e2b022749a426c470307870f0e54fa4476b56/slack-bolt-router-0.1.1.tar.gz",
    "platform": null,
    "description": "## slack-bolt-router\n\n[![Python Versions](https://badgen.net/pypi/python/slack-bolt-router)](https://pypi.org/project/slack-bolt-router/)\n[![Slack-Bolt Version](https://badgen.net/badge/icon/%5E1.10.0?icon=slack&label=slack-bolt)]()\n[![Release](https://badgen.net/github/release/dmytrohoi/slack-bolt-router)](https://github.com/dmytrohoi/slack-bolt-router/releases)\n[![License](https://badgen.net/github/license/dmytrohoi/slack-bolt-router)](https://github.com/dmytrohoi/slack-bolt-router/blob/master/LICENSE)\n\n### Description\n\nThe slack-bolt-router package it is a helper utility that can collect and add\nroutes for the Slack Application.\n\nCurrent compatible slack-bolt version is __1.10.0__.\n\n_NOTE: This package may be affected by major updates to the Slack-bolt library,\nand may not contain additional routes from a future release._\n\n### Usage\n\nInstall from pip:\n\n``` sh\npython3 -m pip install slack-bolt-router\n```\n\nImport router to file with your handler functions:\n\n```python\nfrom slack_bolt_router import Router\n```\n\nStart to use routers in your bot application:\n```python\nrouter = Router()\n\n@router.register(type=\"view\")\ndef example_submit(ack):\n    ack()\n\nrouter.apply_to(app)\n```\n\n__[Examples of usage](https://github.com/dmytrohoi/slack-bolt-router/blob/master/examples)__\n\n### Contribution\n\n1. Clone repo\n2. Run `poetry install`\n3. Make some changes and commit to new branch\n4. Create pull request and add some information about changes in PR\n5. Add project author to PR Reviewers\n\n### Author\n\n_You can sponsorship this project by links in github repo._\n\nAuthor personal website: https://hoid.dev\n\n(c) Dmytro Hoi <code@dmytrohoi.com>, 2021 | MIT License\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Slack Bolt Router",
    "version": "0.1.1",
    "split_keywords": [
        "slack",
        "slack-bolt",
        "slack-bolt plugin",
        "slack-bolt router"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5575ff34090f85ca437e9e446480880c2a68645559af3f10a51f69544254cf3e",
                "md5": "9af70ee884dca7a3dd02aae413a4f139",
                "sha256": "008a0bf3e4e1c7c97661b5e5370a1fc7752c5c021b57b8290bd167ffef534211"
            },
            "downloads": -1,
            "filename": "slack_bolt_router-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9af70ee884dca7a3dd02aae413a4f139",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6,<4.0",
            "size": 6546,
            "upload_time": "2023-01-24T19:10:03",
            "upload_time_iso_8601": "2023-01-24T19:10:03.846629Z",
            "url": "https://files.pythonhosted.org/packages/55/75/ff34090f85ca437e9e446480880c2a68645559af3f10a51f69544254cf3e/slack_bolt_router-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "08a78943274489cde1ed5a4a066e2b022749a426c470307870f0e54fa4476b56",
                "md5": "81f5ef7bcf812dd4b8430987fe092c7e",
                "sha256": "6abffad123ad0c15c65d80f31c98cbcff7f1299f7367bedb5ebe373bf3cde955"
            },
            "downloads": -1,
            "filename": "slack-bolt-router-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "81f5ef7bcf812dd4b8430987fe092c7e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6,<4.0",
            "size": 5114,
            "upload_time": "2023-01-24T19:10:02",
            "upload_time_iso_8601": "2023-01-24T19:10:02.120348Z",
            "url": "https://files.pythonhosted.org/packages/08/a7/8943274489cde1ed5a4a066e2b022749a426c470307870f0e54fa4476b56/slack-bolt-router-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-24 19:10:02",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "slack-bolt-router"
}
        
Elapsed time: 0.03182s