A little word cloud generator
Maintained. Last release 10 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install wordcloudword_cloud
A little word cloud generator in Python. Read more about it on the blog post or the website.
The code is tested against Python 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13.
Installation
If you are using pip:
pip install wordcloud
If you are using conda, you can install from the conda-forge channel:
conda install -c conda-forge wordcloud
Installation notes
wordcloud depends on numpy, pillow, and matplotlib.
If there are no wheels available for your version of python, installing the package requires having a C compiler set up. Before installing a compiler, report an issue describing the version of python and operating system being used.
Examples
Check out examples/simple.py for a short intro. A sample output is:

Or run examples/masked.py to see more options. A sample output is:

Getting fancy with some colors:

Generating wordclouds for Arabic:

Command-line usage
The wordcloud_cli tool can be used to generate word clouds directly from the command-line: