Pstake is a simple tool that turns PSTricks commands into an image file. (PSTricks can draw anything, but needs TeX/LaTeX. The quality of the drawings is unbeatable.) Pstake uses command line as the primary interface, but also works as a Sphinx extension and a SCons tool. It is made as a single-file module.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.