{"categories":[{"label":"Home Automation","url":"https://skillfed.io/packages/category/home-automation"}],"enrichment":{"capability":"Provides base classes and utilities for Home Assistant integrations to proxy HTTP and WebSocket traffic through Home Assistant's web server.","skillfed_tags":["home-assistant","integration-framework"],"use_cases":["Build a Home Assistant integration that exposes a local device's web interface through Home Assistant without exposing the device directly to the internet.","Create a custom integration that proxies API calls to a backend service, applying Home Assistant authentication and authorization rules.","Test a Home Assistant integration's proxy logic using the provided local_server fixture and response handlers.","Implement WebSocket proxying for integrations that need to relay real-time data streams through Home Assistant.","Develop an integration that conditionally routes requests based on config entry data without writing HTTP server boilerplate."],"what_it_does":"hass-web-proxy-lib is a small library for Home Assistant integration developers that abstracts the mechanics of proxying web traffic (HTTP and WebSocket) through Home Assistant's built-in web server. Rather than being an integration itself, it provides reusable base classes\u2014ProxyView for HTTP proxying and WebsocketProxyView for WebSocket proxying\u2014that integration developers inherit from and customize by implementing a single method, _get_proxied_url(), to determine where each request should be routed.\n\nThe library handles the plumbing of receiving requests at a Home Assistant API endpoint, validating authentication, forwarding traffic to a target URL, and returning responses. It includes exception classes for common HTTP error conditions (400, 401, 403, 404, 410) that integrations can raise to signal errors, a ProxiedURL dataclass to configure per-request behavior, and test utilities (fixtures and handlers) to help integration developers write tests for their proxy implementations.","worth_installing":"Yes, if you are developing a Home Assistant integration that needs to proxy traffic. The library eliminates boilerplate for a common pattern, has no external dependencies, carries permissive licensing, and is actively maintained. Install only if you are building a custom Home Assistant integration; it is not useful as a standalone package."},"id":"hass-web-proxy-lib","links":{"html":"https://skillfed.io/packages/hass-web-proxy-lib","md":"https://skillfed.io/packages/hass-web-proxy-lib.md","pypi":"https://pypi.org/project/hass-web-proxy-lib/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-05","license_spdx":null,"license_treatment":"permissive","name":"hass-web-proxy-lib","python_support":"capped_below_current","summary":"A library to proxy web traffic through Home Assistant integrations."},"popularity":{"monthly_downloads":606717,"position":5789,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.8"}
