Source Code: fabulous.xml
<!DOCTYPE html> <html lang="en"> <head> <!--# include file="design_head.html" --> </head> <body> <!--# include file="design_top.html" --> <nav id="compass"> <ul> <li> <time><py>xpath('//article/time', 'voice_changer.xml')[0]</py></time> <a href="voice_changer.html"><py>xpath('//article/h1', 'voice_changer.xml')[0].text</py> ↪</a> </li> <li> <a href="python_unicode.html">↩ <py>xpath('//article/h1', 'python_unicode.xml')[0].text</py></a> <time><py>xpath('//article/time', 'python_unicode.xml')[0]</py></time> </li> </ul> </nav> <article> <h1>Fabulous</h1> <time>August 11, 2010</time> <summary> <p> Fabulous is a Python library designed to make the output of terminal applications look <em>fabulous</em>. Fabulous allows you to print colors, images, and stylized text to the console (without curses.) Fabulous also offers features to improve the usability of Python's standard logging system. </p> </summary> <h2>Installation</h2> <p>To install fabulous, run this command:</p> <pre class="pig lobsterblog-syntax--console"> sudo apt-get install gcc python-imaging python-setuptools sudo easy_install -U fabulous </pre> <p>Alternatively you may download it here:</p> <ul class="files"> <li class="zip"> <a title="Download: fabulous-0.1.5.tar.gz" href="/media/file/fabulous/fabulous-0.1.5.tar.gz"> fabulous-0.1.5.tar.gz</a> (Released 2010-08-20) </li> </ul> <h2>Resources</h2> <ul> <li><a href="/media/file/fabulous/docs/">Fabulous Sphinx Documentation</a></li> <li><a href="http://pypi.python.org/pypi/fabulous/">Cheese Shop Listing</a></li> <li><a href="http://bitbucket.org/jart/fabulous/">Mercurial Repository</a></li> <li><a href="http://bitbucket.org/jart/fabulous/issues">Bug Tracker</a></li> </ul> <h2>Examples</h2> <p>Seeing is believing. The screenshot below shows the output of the demo module:</p> <pre>python -m fabulous.demo</pre> <p style="text-align: center; "><img src="/media/img/fabulous-demo.png" /></p> <p>If you're really brave, you can try the rotating cube demo:</p> <pre>python -m fabulous.rotating_cube</pre> <p>You can increase the resolution of images by making the terminal text really tiny:</p> <pre>python -m fabulous.image obama.jpg</pre> <p style="text-align: center; "><img src="/media/img/obama.png" /></p> <h2>Lorem Gotham</h2> <p>Sometimes you need random verbiage to fill space. Fabulous provides a more interesting alternative to Lorem Ipsum lol:</p> <pre>jart@compy:~$ python -m fabulous.gotham -~*~--~*~--~*~--~*~--~*~--~*~--~*~--~*~--~*~--~*~- a deep unholy earth -~*~--~*~--~*~--~*~--~*~--~*~--~*~--~*~--~*~--~*~- darker than the a petty agony, in the death my love shall hang my head the ghastly condemned and the damned taunt the dark condemned and the stroke of death follow no one cares why the condemned flee oh my eyes! the love! they sever my head and fall limply with all my madness sicklier than shadows in swirling dust in the purgatory my love shall tremble no one cares why the angels cry out angrier than corpses in broken ground oh my essence! the agony! no one cares why the shadows scour the frozen damned and the mourners loom no one cares why the memories beg forgiveness the dead angels and the angels hover close</pre> <aside> <ul class="tabbies"> <li><a href="http://www.reddit.com/r/Python/comments/d3ly3/fabulous_python_library_for_printing_images_and/">Reddit</a></li> <li><a href="http://news.ycombinator.com/item?id=1622225">Hacker News</a></li> <li><a href="/media/file/fabulous/docs/">Documentation</a></li> <li><a href="http://bitbucket.org/jart/fabulous/">Mercurial</a></li> <li><a href="http://bitbucket.org/jart/fabulous/issues">Bug Tracker</a></li> <li><a href="http://pypi.python.org/pypi/fabulous/">Cheese Shop</a></li> <li><a href="fabulous.xml.html">View Source</a></li> </ul> </aside> </article> <!--# include file="design_footer.html" --> </body> </html>