--- id: zaproxy version: "0.6.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # zaproxy — ZAP API Client License: permissive · Maintenance: active · Downloads: 132.1K/mo ## What it is and what it does Zaproxy is a Python wrapper around the OWASP ZAP API, allowing developers to programmatically control ZAP's security scanning capabilities from Python code. It provides access to ZAP's spider, scanner, and other security testing modules through a straightforward client interface. The package depends on requests for HTTP communication and six for Python compatibility, and targets Python 3.9 and later. Typically used in automated security testing workflows and custom security tooling where you want to integrate ZAP's vulnerability detection into your development process. The library translates Python method calls into ZAP API requests, making it easier to script complex security testing scenarios without manually constructing HTTP calls. Use it for: - Integrate automated web application security scanning into CI/CD pipelines to catch vulnerabilities before deployment. - Build custom security testing workflows that combine ZAP scanning with application-specific logic or reporting. - Automate penetration testing of multiple endpoints or applications by scripting ZAP operations programmatically. - Generate security scan reports and metrics by querying ZAP results through the API client. - Orchestrate complex security testing scenarios that require coordinating multiple ZAP modules in sequence. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python client library for the OWASP ZAP security scanner API, enabling programmatic access to automated web application security testing and vulnerability scanning. Yes. The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and provides a straightforward Python interface to a mature security testing platform. Install it if you need to automate ZAP scanning in your development or testing workflow. ## Install pip install zaproxy uv add zaproxy poetry add zaproxy ## Installing zaproxy Before you install: Low friction installation with only two lightweight runtime dependencies (requests and six). Active maintenance with a recent release and ongoing repository activity. License in practice: Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice. Quickstart: pip install zaproxy from zaproxy import ZAPv2 zap = ZAPv2(proxies={'http': 'http://localhost', 'https': 'http://localhost'}) results = zap.spider.scan(url='http://example.com') Requires a running ZAP instance accessible via the configured proxy address. Verify before relying: - Whether the package requires a running ZAP instance or if it can operate standalone - What minimum version of the ZAP application is required for API compatibility - Whether all ZAP API endpoints are covered or if there are known gaps in the implementation - Default host and port configuration for connecting to a ZAP instance ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 132.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags zap api client, web application security testing, owasp zap python, automated vulnerability scanning, security scanner integration, penetration testing automation, api-driven security scanning, security-testing, api-client, vulnerability-scanning [View on SkillFed](https://skillfed.io/packages/zaproxy) · [View on PyPI](https://pypi.org/project/zaproxy/)