py_slack
basic webhook messages, want interactivity next
CLI
python3 send_hook.py https://hook_url/xxxxx/xxxx string_of_txt
In Code
In practice, I use this to send JSONs of Python objects. Here's how to use it in code:
from send_hook import send_msg_hook
send_hook_msg(hook_url, msg, format_type)
#hook_url expects a string url with the appropriate protocol at the beginning, for example http:// or https://
#msg expects either a dictionary or a string
#format_type defaults to 'snippet', but can be set to 'plain'
Metadata
Release files for py-slack 0.0.0
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 |
|---|---|---|---|---|
| py_slack-0.0.0.tar.gz | 1.8 kB | Without provenance | Details for py_slack-0.0.0.tar.gz |
Release files / py_slack-0.0.0.tar.gz
| Download URL | py_slack-0.0.0.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a66e7b42e2c024e4d4f01668f7093e74e7eb757ae04c3e49c470b5002cd4b33
|
|
BLAKE2b-256 checksum How to use checksums |
5578ca29365450e73183a512867f2ea80c7d16da42b6c9b3f9346bb8aeb3eff8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Security for py-slack 0.0.0
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.