{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/2"}],"enrichment":{"capability":"Encrypts and sends web push notifications to browser push services using the Web Push Protocol, handling VAPID authentication and RFC 8188 encryption standards.","skillfed_tags":["push-notifications","web-standards","cryptography"],"use_cases":["Send encrypted notifications from a web backend to subscribed browser clients without exposing message content to the push service.","Implement a notification system for a web app where users grant push permission and you store their subscription info server-side.","Batch-send the same message to many users by iterating over stored subscriptions and calling webpush() for each.","Test push notification integration during development using the command-line tool with subscription and message files.","Handle platform-specific push requirements (e.g., Windows) by passing custom headers to the send() method."],"what_it_does":"Pywebpush is a Python library for sending encrypted web push notifications to browsers via the Web Push Protocol. It handles the cryptographic encryption (aes128gcm or aesgcm), VAPID authentication headers, and HTTP delivery to push service endpoints. The library accepts browser PushSubscription objects (converted to JSON), encrypts your message payload, and sends it to the appropriate push service.\n\nYou can use it either as a one-call function for simple sends or instantiate a WebPusher object for repeated sends to the same recipient. It depends on aiohttp, cryptography, http-ece, requests, and py-vapid to handle encryption, HTTP transport, and VAPID key management. The library includes a command-line tool for testing and supports platform-specific headers (notably for Windows notifications).","worth_installing":"Yes, if you need to send web push notifications from a Python backend. The library is actively maintained, has no known vulnerabilities, and handles the complex encryption and VAPID protocol correctly. Install friction is low. The MPL-2.0 copyleft license is standard for server-side use but requires disclosure of modifications. Single-person maintenance is a long-term risk; evaluate your tolerance for potential delays in bug fixes or updates."},"id":"pywebpush","links":{"html":"https://skillfed.io/packages/pywebpush","md":"https://skillfed.io/packages/pywebpush.md","pypi":"https://pypi.org/project/pywebpush/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-06","license_spdx":"MPL-2.0","license_treatment":"copyleft","name":"pywebpush","python_support":"supports_current","summary":"WebPush publication library"},"popularity":{"monthly_downloads":5794972,"position":2035,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.4.0"}
