Skip to main content

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.

This package uses the channels.history Slack endpoint and will require a valid Slack API Token.

Installation

  1. pip install slack-wordcloud
  2. docopt and wordcloud are also required. Can be installed via pip

Classes

  1. SlackHistory(token, channel)
  2. GenerateWordCloud(options, *args, **kwargs)

Command Line Usage

  1. slack-wordclound [-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 option argument. It will check your environment first, and fail if not present.

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_wordcloud-0.4a0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

slack_wordcloud-0.4a0-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

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