{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/3"}],"enrichment":{"capability":"PyPAC discovers proxy auto-config (PAC) files and makes HTTP requests that respect them, with automatic PAC discovery on Windows and macOS and support for the WPAD protocol.","skillfed_tags":["proxy-configuration","wpad-discovery","requests-integration"],"use_cases":["Make HTTP requests in corporate environments where PAC files centrally control proxy routing without manual configuration.","Automatically discover and use organization-specific proxy settings on Windows or macOS without hardcoding proxy URLs.","Add PAC support to AWS SDK calls (boto3) or other libraries via the pac_context_for_url context manager.","Handle proxy failover and load balancing defined in PAC files for resilient HTTP clients.","Respect DNS-based proxy discovery (WPAD) in networks that use it for automatic proxy configuration."],"what_it_does":"PyPAC is a Python library that integrates proxy auto-config (PAC) file discovery and enforcement into HTTP requests. It extends the Requests library with a PACSession class that automatically discovers PAC files via the WPAD protocol, Windows Internet Options, or macOS System Preferences, then routes requests through the proxies specified in those files. If no PAC file is found, it behaves like a regular Requests session.\n\nThe library handles proxy authentication, failover, and load balancing as defined in PAC files. It also provides a context manager (pac_context_for_url) for adding basic PAC support to libraries that honor proxy environment variables. The package depends on requests for HTTP, publicsuffixlist for domain matching, dukpy for JavaScript execution, and pyobjc-framework-SystemConfiguration for macOS integration.","worth_installing":"Yes. PyPAC is actively maintained, has no known vulnerabilities, low install friction, and solves a real problem for developers in corporate environments. Install it if your application needs to respect PAC files or auto-discover proxies; skip it if you're in an environment with static proxy configuration or no proxy requirements."},"id":"pypac","links":{"html":"https://skillfed.io/packages/pypac","md":"https://skillfed.io/packages/pypac.md","pypi":"https://pypi.org/project/pypac/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-07","license_spdx":null,"license_treatment":"permissive","name":"PyPAC","python_support":"supports_current","summary":"Proxy auto-config and auto-discovery for Python."},"popularity":{"monthly_downloads":469001,"position":6490,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.19.0"}
