apns2-up
A python library for interacting with the Apple Push Notification Service via HTTP/2 protocol
Decision gist · record as of 2026-08-14
Yes, with caution. The library is functional and permissively licensed, but its aging status (455 days since last release, minimal repository activity) means you should verify compatibility with current Apple APNs requirements before production use. High install friction from three non-trivial dependencies is acceptable for the problem it solves. Consider checking whether the hyper-up dependency is actively maintained, as it is a critical transport layer.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid Apple APNs certificate (key.pem) or token credentials with auth_key_id and team_id from Apple Developer account.
- High install friction due to three non-trivial runtime dependencies (hyper-up, PyJWT, cryptography).
- Package is aging—last release 455 days ago—with minimal repository activity (1 star, last commit 2025-05-16).
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2025-05-16 (455 days) · last repo commit 2025-05-16 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 103,695 downloads/mo, #12,791 on PyPI
Alternatives
Verify before relying
from apns2.client import APNsClient
from apns2.payload import Payload
payload = Payload(alert="Hello World!", sound="default", badge=1)
client = APNsClient('key.pem', use_sandbox=False)
client.send_notification(token_hex, payload, topic='com.example.App')- Whether hyper-up is a maintained fork or a stale dependency; standard hyper status unknown.
- Compatibility with current Apple APNs API changes or deprecations since last release.
- Whether token-based auth implementation matches current Apple requirements.
What it is and what it does
apns2-up is a Python client library for sending push notifications to iOS devices via Apple's Push Notification service (APNs) over HTTP/2. It abstracts the complexity of APNs protocol handling and credential management, supporting both certificate-based authentication (via .pem files) and token-based authentication (via auth keys). The library depends on hyper-up for HTTP/2 transport, PyJWT for token signing, and cryptography for certificate handling.
The package is designed for server-side applications that need to deliver notifications to iOS apps. It supports single notifications and batch operations, allowing developers to send alerts, sounds, and badge updates. However, the package shows signs of age—last released 455 days ago with minimal repository activity—raising questions about ongoing maintenance and compatibility with current Apple APNs requirements.
Use it for
- Send alert notifications to iOS users when server-side events occur (e.g., messages, reminders, activity updates).
- Deliver batch notifications to multiple iOS devices in a single operation for efficiency.
- Implement token-based authentication for APNs when certificate management is impractical.
- Build a notification service that manages badge counts and sound preferences per notification.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with caution.
The library is functional and permissively licensed, but its aging status (455 days since last release, minimal repository activity) means you should verify compatibility with current Apple APNs requirements before production use. High install friction from three non-trivial dependencies is acceptable for the problem it solves. Consider checking whether the hyper-up dependency is actively maintained, as it is a critical transport layer.
Install
apns2-up on PyPI
Before you install
High install friction due to three non-trivial runtime dependencies (hyper-up, PyJWT, cryptography). Package is aging—last release 455 days ago—with minimal repository activity (1 star, last commit 2025-05-16). Maintenance status suggests limited ongoing support.
Requires a valid Apple APNs certificate (key.pem) or token credentials with auth_key_id and team_id from Apple Developer account.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
from apns2.client import APNsClient
from apns2.payload import Payload
payload = Payload(alert="Hello World!", sound="default", badge=1)
client = APNsClient('key.pem', use_sandbox=False)
client.send_notification(token_hex, payload, topic='com.example.App')
Verify before relying
- Whether hyper-up is a maintained fork or a stale dependency; standard hyper status unknown.
- Compatibility with current Apple APNs API changes or deprecations since last release.
- Whether token-based auth implementation matches current Apple requirements.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | 3 packageshyper-upPyJWTcryptography |
| Maintenance | Aging 455 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 103,695 / month, #12,791 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Software Development :: Libraries |
Evidence: apns2_up-0.9.0.tar.gz
Tags
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 › “apns http2 client”
- apns2-upSends push notifications to iOS devices through Apple's APNs service…
- pyapns-clientSends Apple Push Notifications to iOS, macOS, and Safari devices via…
- aioapnsaioapns sends push notifications to iOS devices via Apple Push…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
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.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also aioapns · exponent-server-sdk · pyapns-client · urbanairship · django-push-notifications · pypushdeer · apprise · pushover-complete · pyobjc-framework-PushKit · plyer