Skip to main content

Slack Bolt Router

Project description

slack-bolt-router

Python Versions Slack-Bolt Version Release 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:

python3 -m pip install slack-bolt-router

Import router to file with your handler functions:

from slack_bolt_router import Router

Start to use routers in your bot application:

router = Router()

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

router.apply_to(app)

Examples of usage

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

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

slack-bolt-router-0.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

slack_bolt_router-0.1.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file slack-bolt-router-0.1.1.tar.gz.

File metadata

  • Download URL: slack-bolt-router-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.2 Darwin/22.1.0

File hashes

Hashes for slack-bolt-router-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6abffad123ad0c15c65d80f31c98cbcff7f1299f7367bedb5ebe373bf3cde955
MD5 81f5ef7bcf812dd4b8430987fe092c7e
BLAKE2b-256 08a78943274489cde1ed5a4a066e2b022749a426c470307870f0e54fa4476b56

See more details on using hashes here.

File details

Details for the file slack_bolt_router-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for slack_bolt_router-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 008a0bf3e4e1c7c97661b5e5370a1fc7752c5c021b57b8290bd167ffef534211
MD5 9af70ee884dca7a3dd02aae413a4f139
BLAKE2b-256 5575ff34090f85ca437e9e446480880c2a68645559af3f10a51f69544254cf3e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page