/PyTagCloud

Create beautiful tag clouds as images or HTML

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

PyTagCloud

PyTagCloud let you create simple tag clouds inspired by http://www.wordle.net/

Currently, the following output formats have been written and are working:

  • PNG images
  • HTML/CSS code

If you have ideas for other formats please let us know.

Installation

  1. Install pygame >= 1.9.1 (http://www.pygame.org/download.shtml)
  2. Install simplejson (sudo pip install simplejson)
  3. Add the pytagcloud directory to your Python path.

Usage

See tests.py

Example

HTML Cloud

https://github.com/atizo/PyTagCloud/raw/master/docs/example.png

Cloud generated from http://wikilivres.info/wiki/Zur_Elektrodynamik_bewegter_K%C3%B6rper