[Varnish] #575: Python Tools Enhancement
Varnish
varnish-bugs at varnish-cache.org
Mon Apr 23 12:07:24 CEST 2012
#575: Python Tools Enhancement
--------------------------------+-------------------------------------------
Reporter: justquick | Owner: kristian
Type: enhancement | Status: closed
Priority: low | Milestone:
Component: varnishadm | Version: trunk
Severity: minor | Resolution: worksforme
Keywords: python enhancement |
--------------------------------+-------------------------------------------
Changes (by phk):
* status: new => closed
* resolution: => worksforme
Old description:
> 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
New description:
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
--
Comment:
We decided at VUG5 that the python-API (and for that matter other $LANG-
APIs) will not live in the Varnishd distribution, for a number of good
reasons.
This ticket therefore belongs whereever the python-API will be maintained,
and we close it here.
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/575#comment:4>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list