{"id":13502344,"url":"https://github.com/justquick/python-varnish","last_synced_at":"2025-04-09T09:09:47.698Z","repository":{"id":673065,"uuid":"316513","full_name":"justquick/python-varnish","owner":"justquick","description":"Simple Python interface for the Varnish management port","archived":false,"fork":false,"pushed_at":"2021-09-08T20:31:51.000Z","size":245,"stargazers_count":135,"open_issues_count":9,"forks_count":41,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-02T07:11:13.012Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justquick.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-09-24T15:45:19.000Z","updated_at":"2025-03-27T19:22:54.000Z","dependencies_parsed_at":"2022-08-16T10:40:13.183Z","dependency_job_id":null,"html_url":"https://github.com/justquick/python-varnish","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justquick%2Fpython-varnish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justquick%2Fpython-varnish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justquick%2Fpython-varnish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justquick%2Fpython-varnish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justquick","download_url":"https://codeload.github.com/justquick/python-varnish/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T22:02:10.861Z","updated_at":"2025-04-09T09:09:47.667Z","avatar_url":"https://github.com/justquick.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"Simple Python interface for the Varnish management port\n=========================================================\n\n\n:Author:\n   Justin Quick \u003cjustquick@gmail.com\u003e, Sandy Walsh \u003cgithub@darksecretsoftware.com\u003e\n:Version: 0.2\n\n::\n\n    pip install python-varnish==0.2.1\n\nIf you are running a version of varnish older than 3.0 then install python-varnish==0.1.2 instead.\n\nVarnish is a state-of-the-art, high-performance HTTP accelerator.\nFor more information checkout `Varnish Site \u003chttp://varnish.projects.linpro.no/\u003e`_\n\nVarnish provides a simple telnet management interface for doing things like:\n\n  *  reloading configurations\n  *  purging URLs from cache\n  *  view statistics\n  *  start and stop the server\n\nThis Python API takes full advantage of the available commands and can run\nacross multiple Varnish instances. Here are the features of this python module\n(compared to `python-varnishadm \u003chttp://varnish.projects.linpro.no/browser/trunk/varnish-tools/python-varnishadm/\u003e`_)\n\n  *  Uses ``telnetlib`` instead of raw sockets\n  *  Implements ``threading`` module\n  *  Can run commands across multiple Varnish instances\n  *  More comprehensive methods, closely matching the management API (``purge_*``, ``vcl_*``, etc.)\n  *  Unittests\n\nExample::\n\n  manager = VarnishManager( ('server1:6082', 'server2:6082') )\n  manager.run('ping')\n  manager.run('ban.url', '^/secret/$')\n  manager.run('ban.list')\n  manager.run('purge.url', 'http://mydomain.com/articles/.*')\n  manager.close()\n\nTesting::\n\n  python runtests.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustquick%2Fpython-varnish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustquick%2Fpython-varnish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustquick%2Fpython-varnish/lists"}