Skip to content
The awesome + command line = ★
Python Makefile
Failed to load latest commit information.
.gitignore Add IDEA to gitignore Mar 15, 2014
COPYING.rst Small improvements. yuml is now Python-agnostic. Mar 15, 2014 Add Python Distutils support Jan 13, 2013
Makefile Small improvements. yuml is now Python-agnostic. Mar 15, 2014
README.rst Update README.rst Sep 25, 2015
yuml Applied pylint suggestions Mar 15, 2014



This is an unofficial command line client for the yUML web app. Use it to draw class diagrams, activity diagrams and usecase diagrams from the command line, integrate yUML into your documentation workflow or what have you.

yuml (the tool) supports all the styles and formats that yUML (the service) does, so you can take your pick between scruffy (the default), nofunky and plain for the styles and png, pdf, svg or jpg for the format.

Have fun.


Only the -o option is required.

-i Read yuml from FILE instead of stdin
-o Store output in FILE
-f Use specified format (one of png, pdf, svg, or jpg)
-t Use this diagram type (one of class, activity, or usecase)
-s Use this diagram style (one of scruffy, nofunky, plain)
--dir Lay out elements in this direction (one of LR, RL, TD)
--scale Scale output to percentage
-v Print some debug info


echo "[This]-[That]" | ./yuml -s nofunky -o diagram.png


To install yuml, try:

sudo pip install

...or the equivalent for your system.


yuml is distributed under the terms of the ISC license. See the COPYING.rst file for more details.

Something went wrong with that request. Please try again.