pyapns-client
Simple, flexible and fast Apple Push Notifications on iOS, OSX and Safari using the HTTP/2 Push provider API.
Decision gist · record as of 2026-08-14
Yes, if you have a stable Python 3.6+ environment and your Apple APNs credentials are already set up—the package is simple and has no known vulnerabilities. No, if you need active maintenance, security updates, or compatibility with future Apple APNs changes; consider alternatives that are actively maintained. The abandoned status and lack of recent commits mean you should verify compatibility with your current Apple Developer setup before committing to it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires an Apple Developer account with APNs credentials (auth key .p8 file, team ID, key ID) and the AAACertificateServices root certificate.
- Low install friction with a pure-Python wheel distribution.
- However, the package is abandoned—last release was 2022-06-09 and last commit 2023-04-20, with no recent maintenance.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license text.
last release 2022-06-09 (1527 days) · last repo commit 2023-04-20 · 24 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,038,784 downloads/mo, #4,458 on PyPI
Alternatives
Verify before relying
pip install pyapns_client
from pyapns_client import APNSClient, IOSPayload, IOSNotification
client = APNSClient(
mode=APNSClient.MODE_DEV,
root_cert_path='/path/to/root_cert.pem',
auth_key_path='/path/to/auth_key.p8',
auth_key_id='AUTHKEY123',
team_id='TEAMID1234'
)
notification = IOSNotification(payload=IOSPayload(), topic='com.example.app')
client.push(notification=notification, device_token='device_token')
client.close()- Whether the package remains compatible with current Apple APNs API changes or certificate requirements since its last update in 2023.
- Current state of httpx, PyJWT, and cryptography dependency versions and any breaking changes affecting this package.
What it is and what it does
pyapns_client is a Python wrapper around Apple's HTTP/2 Push Notification service (APNs) that handles the complexity of token-based authentication and notification delivery. It manages persistent connections, error handling, and automatic retries for failed pushes, letting you send notifications to iOS, macOS, and Safari apps by providing device tokens, a notification payload, and your Apple credentials.
The package depends on httpx for HTTP/2 communication, PyJWT and cryptography for token signing, and pytz for timezone handling. It supports iOS 10+ features like collapse IDs, subtitles, and mutable notifications. However, the project is no longer maintained—the last release was in June 2022 and the repository shows no activity since April 2023, so it may not reflect current Apple APNs requirements or security practices.
Use it for
- Send push notifications to iOS apps from a Python backend service using token-based authentication instead of certificate renewal.
- Implement device unregistration handling by catching UnregisteredException to clean up stale device tokens from your database.
- Build a notification system that retries failed pushes automatically and distinguishes between device errors, server errors, and programming mistakes.
- Deliver rich notifications with titles, subtitles, and mutable content to iOS 10+ devices from a Python application.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you have a stable Python 3.6+ environment and your Apple APNs credentials are already set up—the package is simple and has no known vulnerabilities.
No, if you need active maintenance, security updates, or compatibility with future Apple APNs changes; consider alternatives that are actively maintained. The abandoned status and lack of recent commits mean you should verify compatibility with your current Apple Developer setup before committing to it.
Install
pyapns-client on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. However, the package is abandoned—last release was 2022-06-09 and last commit 2023-04-20, with no recent maintenance. Use only if your dependencies and Python version remain stable.
Requires an Apple Developer account with APNs credentials (auth key .p8 file, team ID, key ID) and the AAACertificateServices root certificate.
License in practice
MIT License permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license text.
Quickstart
pip install pyapns_client
from pyapns_client import APNSClient, IOSPayload, IOSNotification
client = APNSClient(
mode=APNSClient.MODE_DEV,
root_cert_path='/path/to/root_cert.pem',
auth_key_path='/path/to/auth_key.p8',
auth_key_id='AUTHKEY123',
team_id='TEAMID1234'
)
notification = IOSNotification(payload=IOSPayload(), topic='com.example.app')
client.push(notification=notification, device_token='device_token')
client.close()
Verify before relying
- Whether the package remains compatible with current Apple APNs API changes or certificate requirements since its last update in 2023.
- Current state of httpx, PyJWT, and cryptography dependency versions and any breaking changes affecting this package.
Package facts
| License | MIT License permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packageshttpxPyJWTcryptographypytz |
| Maintenance | Abandoned 1,527 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,038,784 / month, #4,458 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: CommunicationsTopic :: InternetTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities |
Evidence: pyapns_client-2.0.6-py3-none-any.whl
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 › “apple push notifications ios”
- pyapns-clientSends Apple Push Notifications to iOS, macOS, and Safari devices via…
- apns2-upSends push notifications to iOS devices through Apple's APNs service…
- 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 Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also aioapns · apns2-up · pypushdeer · exponent-server-sdk · django-push-notifications · urbanairship · pyobjc-framework-PushKit · wallet-py3k · pyobjc-framework-UserNotifications · pyobjc-framework-NotificationCenter