You can view/download the code directly via a browser
https://networkx.lanl.gov/svn/networkx/trunk/networkx/cliques.py
or install the svn version of networkx.
It will still take a long time (the problem is NP complete) but
you can iterate through the cliques instead of waiting until
the whole thing finishes.
Dan