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.

Files for slack-wordcloud, version 0.4a0
Filename, size File type Python version Upload date Hashes
Filename, size slack_wordcloud-0.4a0-py3-none-any.whl (8.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size slack_wordcloud-0.4a0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page