Skip to main content

Python3.7+ wrapper for generating word clouds from a Reddit user's comments.

Project description

Reddit Comment Cloud

Python3.7+ wrapper for generating word clouds from a Reddit user's comments.

Reddit Comment Cloud for /u/SuddenlySnowden

Built upon


This example will render the WordCloud of /u/SuddenlySnowden and save the image under SuddenlySnowden.png in the current working directory.

from redditcommentcloud import CommentCloud
cc = CommentCloud()


The code was written for Python3.7+.

Optionally: Create a Python virtual environment:

python -m venv .venv
source .venv/bin/activate

Type deactivate when you are done

Clone this repository or install it using pip install redditcommentcloud.

Installing the dependencies

pip install -r requirements.txt

Supply Reddit API credentials This tool requires API credentials for the Reddit API. Go to, create an app and copy the keys.

Copy redditcommentcloud/ to redditcommentcloud/ and fill in the details. Freely choose a presumably unique User-Agent for the bot.

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 redditcommentcloud, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size redditcommentcloud-0.1.1-py3-none-any.whl (15.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size redditcommentcloud-0.1.1.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page