fastapi-slack
Slack extension for FastAPI.
Configuration - Environment Variables
slack_access_token
Bot User OAuth Access Token as defined in OAuth & Permissions menu of the slack app.
slack_signing_secret
App signing secret as shown in Basic Information menu of the slack app in the App Credentials section.
Setup
- Include fastapi-slack router:
import fastapi_slack
from fastapi import FastAPI
app = FastAPI()
app.include_router(fastapi_slack.router)
Slash Commands
- Depending on
fastapi_slack.SlashCommandautomatically validates Slack request signature and extract the info needed to process it:
from fastapi import Depends, FastAPI
from fastapi_slack import SlashCommand, router
app = FastAPI()
app.include_router(router)
@app.post("/slash-commands")
def process_commands(slash_command: SlashCommand = Depends()):
pass
Metadata
Release files for fastapi-slack 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastapi-slack-0.2.2.tar.gz | 4.0 kB | Without provenance | Details for fastapi-slack-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastapi_slack-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for fastapi_slack-0.2.2-py3-none-any.whl |
Total release size: 7.9 kB
Release files / fastapi-slack-0.2.2.tar.gz
| Download URL | fastapi-slack-0.2.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9dded2f3f9a288c15e0a5f13e3f3d69d7e33166902b6b520a8b3fd363c886392
|
|
BLAKE2b-256 checksum How to use checksums |
ab53486380b74f125605855491cbe020d39efeb9010110f9c4ff9c0a19f47376
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.1 Linux/4.15.0-1077-aws
|
Release files / fastapi_slack-0.2.2-py3-none-any.whl
| Download URL | fastapi_slack-0.2.2-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fdb71571aabc4cc8f7b5396af7573d30886fa9e208002bc784e58ad0244895b
|
|
BLAKE2b-256 checksum How to use checksums |
c05859ca716239c617121798bb14b09986bc97c0c802f34c435c6745e924aab6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.1 Linux/4.15.0-1077-aws
|
Security for fastapi-slack 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.