Monthly Archives: September 2007
Serving mercurial with mod_wsgi
Here’s a quick and easy recipe for serving a mercurial repository with mod_wsgi. Create a file called hgwebdir.wsgi with these contents: from mercurial.hgweb.request import wsgiapplication from mercurial.hgweb.hgwebdir_mod import hgwebdir def make_web_app(): return hgwebdir(“/path/to/hgweb.config”) application = wsgiapplication(make_web_app) Add it to the … Continue reading
Posted in Mercurial, WSGI
4 Comments
etframes: Applying the ideas of Edward Tufte to matplotlib
Edward Tufte is a professor and author known for his excellent (and beautiful!) books on the visual display of statistical information. Last year I had the opportunity to attend one of his courses and was inspired to apply his ideas … Continue reading
Posted in Python, Tufte
8 Comments