Slack Wordcloud
This package is intended to take the history of a given Slack Channel, and run it through a Python Wordcloud API, and generate a wordcloud image. Compatibile with Python 3.7+.
This package uses the conversions.history Slack endpoint and will require a valid Slack API Token.
Installation
pip install slack-wordcloud- The
docoptandwordcloudpackages are also required. They should be automatically installed simulaneously withslack-wordcloud. However, if it fails you can do the following:pip install docopt wordcloud
Classes
SlackHistory(token, channel)GenerateWordCloud(options, *args, **kwargs)
Command Line Usage
slack_wordcloud [-f] --channel <CHANNEL_NAME> [--token=SLACK_TOKEN]-fwill create a png file in your current directory of the output--channelis required. Any valid slack channel.--tokenoptional argument if the token is already in your environment. Otherwise, you will need to pass it in.
- You will need to use Bot tokens and invite the Bot to the channel whose history you wish to fetch. This will hopefully be smoothed out in the future, but for now it's necessary due to the deprecation of the legacy tokens.
Metadata
Release files for slack-wordcloud 1.0.4
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 |
|---|---|---|---|---|
| slack_wordcloud-1.0.4.tar.gz | 4.4 kB | Without provenance | Details for slack_wordcloud-1.0.4.tar.gz |
Release files / slack_wordcloud-1.0.4.tar.gz
| Download URL | slack_wordcloud-1.0.4.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
340227742c33e4a5584821d857343be962d28a49c12b19ecd7b98e87063b3ed0
|
|
BLAKE2b-256 checksum How to use checksums |
e2ee198a1994d4a629e8a5c8a5663f4ba3f529c0b6c083f05bfd98c89765cfb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
|
Security for slack-wordcloud 1.0.4
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.