Generate word clouds for Slack channels!
Project description
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 channels.history
Slack endpoint and will require a valid Slack API Token.
Installation
pip install slack-wordcloud
- The
docopt
andwordcloud
packages 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]
-f
will create a png file in your current directory of the output--channel
is required. Any valid slack channel.--token
optional argument if the token is already in your environment. Otherwise, you will need to pass it in.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
slack_wordcloud-1.0.3.tar.gz
(4.3 kB
view hashes)