$npx skillfedfor your agent

py-vapid

Simple VAPID header generation library

Worth itPyPI WWW/HTTPReleased Jan 20266.2M downloads / moMPL-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_vapid-1.9.4-py2.py3-none-any.whl
v1.9.4 · released 2026-01-05 · 1 runtime deps: cryptography

Yes. This is a focused, actively maintained library with low install friction and no known vulnerabilities. Install it if you're building a WebPush notification system and need to authenticate with push service providers. The MPL-2.0 license requires source disclosure of modifications but poses no barrier to typical use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single runtime dependency (cryptography).
  • Actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

MPL-2.0 (copyleft) — Licensed under MPL-2.0 (copyleft). You must disclose source code modifications and distribute under the same license if you modify and redistribute the package.

last release 2026-01-05 (221 days) · last repo commit 2026-03-31 · 98 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,216,733 downloads/mo, #1,957 on PyPI

Verify before relying

pip install py-vapid

from py_vapid import Vapid01

vapid = Vapid01()
vapid.generate_keys()
headers = vapid.sign({"sub": "mailto:admin@example.com", "aud": "https://push.example.com", "exp": "ExpirationTimestamp"})
  • Whether the library supports VAPID protocol versions beyond the initial implementation
  • Performance characteristics when signing large batches of claims
  • Compatibility with specific push service providers and their VAPID requirements
Same gist for agents: .md · .json

What it is and what it does

py-vapid is a minimal library for generating VAPID credentials used in WebPush authentication. VAPID is a voluntary standard that allows application servers sending push notifications to self-identify to push service providers. The library generates public/private key pairs and signs VAPID claims (JSON structures containing subscriber email, audience URL, and expiration timestamp) into HTTP headers that push services can verify.

The package works with cryptography as its sole runtime dependency and can be used either as a library in Python code or as a command-line tool (bin/vapid) for key generation and header signing. It handles the required VAPID claim fields (sub, aud, exp) and optional fields, auto-generating expiration timestamps when not specified.

Use it for

  • Generate VAPID key pairs for a WebPush service during initial setup or key rotation
  • Sign VAPID claims into HTTP headers before sending push subscription updates to a push service
  • Create restricted subscription endpoints by extracting the applicationServerKey for client-side subscription
  • Manage VAPID expiration timestamps to prevent replay attacks in push notification workflows

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a focused, actively maintained library with low install friction and no known vulnerabilities. Install it if you're building a WebPush notification system and need to authenticate with push service providers. The MPL-2.0 license requires source disclosure of modifications but poses no barrier to typical use.

Install

py-vapid on PyPI

Before you install

Low install friction with a single runtime dependency (cryptography). Actively maintained with a recent release and no known vulnerabilities.

License in practice

Licensed under MPL-2.0 (copyleft). You must disclose source code modifications and distribute under the same license if you modify and redistribute the package.

Quickstart

pip install py-vapid

from py_vapid import Vapid01

vapid = Vapid01()
vapid.generate_keys()
headers = vapid.sign({"sub": "mailto:admin@example.com", "aud": "https://push.example.com", "exp": "ExpirationTimestamp"})

Verify before relying

  • Whether the library supports VAPID protocol versions beyond the initial implementation
  • Performance characteristics when signing large batches of claims
  • Compatibility with specific push service providers and their VAPID requirements

Package facts

LicenseMPL-2.0 copyleft
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
cryptography
MaintenanceActively maintained 221 days since the last release
Last repo commit
First released
Downloads6,216,733 / month, #1,957 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: PythonProgramming Language :: Python :: 3Topic :: Internet :: WWW/HTTP

Evidence: py_vapid-1.9.4-py2.py3-none-any.whl

Tags

Capabilities
vapid key generationwebpush authentication headerspush notification signingvapid claims signingapplication server identificationwebpush vapid librarypush service authentication
Topics
webpushcryptographyauthentication
PyPI keywords
pushvapidwebpush

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “vapid key generation”

  • py-vapidGenerates VAPID (Voluntary Application Server Identification) headers…
  • pywebpushEncrypts and sends web push notifications to browser push services…
  • diffiehellmanlibGenerates Diffie-Hellman key exchange parameters and performs shared…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also pywebpush · django-push-notifications · pypushdeer · py-builder-signing-sdk · auth0-api-python · vonage-jwt · aws-request-signer · django-allauth · apns2-up · jose