[Varnish] #575: Python Tools Enhancement

Varnish varnish-bugs at projects.linpro.no
Sat Nov 7 14:13:19 CET 2009


#575: Python Tools Enhancement
--------------------------------+-------------------------------------------
 Reporter:  justquick           |        Type:  enhancement
   Status:  new                 |    Priority:  low        
Milestone:                      |   Component:  varnishadm 
  Version:  trunk               |    Severity:  minor      
 Keywords:  python enhancement  |  
--------------------------------+-------------------------------------------
 I have revamped the Python interface to the Varnish management port into a
 more robust application. I have written a new module (python-varnish) and
 have posted it on github. Here are some of the features:

  * Uses `telnetlib` instead of raw sockets
  * Implements `threading` module
  * Can run commands across multiple Varnish instances
  * More comprehensive methods, closely matching the management API
 (purge_*, vcl_*, etc.)
  * Unittests

 The code is available at [http://github.com/justquick/python-varnish
 http://github.com/justquick/python-varnish]

 This implementation is currently in use in production for
 [http://www.washingtontimes.com The Washington Times]

 It is part of an upcoming release of a project of mine using this module
 in conjunction with [http://www.djangoproject.com the django web
 framework].

 Python-Varnish is under the New BSD license and I would be willing to
 commit this module into your trunk.

 Contact me: justquick [@] gmail.com

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/575>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list