Skip to main content

Lighweight Python interface for Varnish Manager

Project description


Lighweight Python interface for Varnish Manager

Tested with Varnish 4.x.x and 5.x.x

### Instalation:
pip install pyvarnish

### Example:

# Default port is 6082 and secret is an optional parameter
manager = VarnishManager(host="", port=80, secret="MySecret")
manager.ban(" ~")
manager.command("<your custom command>")


Based on [justquick/python-varnish]( library

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvarnish-1.1.0.tar.gz (15.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page