$npx skillfedfor your agent

aioapns

An efficient APNs Client Library for Python/asyncio

Worth itPyPI InternetReleased Apr 2025848.5K downloads / moApache License, Version 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aioapns-4.0-py3-none-any.whl
v4.0 · released 2025-04-14 · 3 runtime deps: h2, pyOpenSSL, pyjwt

Yes. aioapns is production-stable, permissively licensed, and actively maintained with low install friction. It is the right choice if you need to send iOS push notifications from a Python asyncio application and want a focused, efficient HTTP/2 client rather than a generic push service abstraction. The aging maintenance status (487 days since last release) is not a blocker for a mature library with no known vulnerabilities, but monitor the repository for any future APNs protocol changes.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later; APNs certificate or token credentials (key file, key_id, team_id, topic) must be obtained from Apple Developer account.
  • Low install friction with three straightforward runtime dependencies (h2, pyOpenSSL, pyjwt).
  • Repository shows active maintenance with a recent commit on 2025-04-14, though the package is aging relative to its release cycle.

License · maintenance · safety

Apache License, Version 2.0 (permissive) — Licensed under Apache License, Version 2.0 (permissive), allowing commercial and private use with minimal restrictions—suitable for most production deployments.

last release 2025-04-14 (487 days) · last repo commit 2025-04-14 · 163 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 848,474 downloads/mo, #4,910 on PyPI

Verify before relying

pip install aioapns

import asyncio
from aioapns import APNs, NotificationRequest

async def send():
    client = APNs(client_cert='/path/to/cert.pem', use_sandbox=False)
    request = NotificationRequest(
        device_token='<TOKEN>',
        message={"aps": {"alert": "Hello"}}
    )
    await client.send_notification(request)

asyncio.run(send())
  • Whether the stated 1.3k notifications per second throughput is still representative for version 4.0 under typical production loads.
  • Current status of HTTP/2 connection pool adaptation behavior and whether it remains optimal for high-concurrency scenarios.
Same gist for agents: .md · .json

What it is and what it does

aioapns is an asyncio-based client library for sending push notifications to iOS devices through Apple's Push Notification Service. It wraps the APNs HTTP/2 API with an efficient connection pool and supports both certificate-based and token-based (JWT) authentication methods. The library integrates directly with Python's asyncio framework, making it suitable for high-throughput, non-blocking notification delivery in async applications.

The package handles the low-level details of APNs communication—HTTP/2 protocol negotiation via h2, TLS certificate management through pyOpenSSL, and JWT token generation with pyjwt—so you only need to construct a NotificationRequest with a device token and message payload, then await the send call. It supports production and sandbox APNs servers, TTL and priority settings, and collapse keys for notification grouping.

Use it for

  • Send real-time alerts and reminders to iOS app users from a Python backend service.
  • Deliver high-volume push notifications (e.g., marketing campaigns) with connection pooling and async concurrency.
  • Integrate APNs delivery into an asyncio-based microservice or event-driven architecture without blocking.
  • Manage both certificate and token authentication flows for different APNs environments or team configurations.
  • Set notification expiration (TTL) and priority levels for time-sensitive or background delivery scenarios.

Worth the install?

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

Worth it

Yes.

aioapns is production-stable, permissively licensed, and actively maintained with low install friction. It is the right choice if you need to send iOS push notifications from a Python asyncio application and want a focused, efficient HTTP/2 client rather than a generic push service abstraction. The aging maintenance status (487 days since last release) is not a blocker for a mature library with no known vulnerabilities, but monitor the repository for any future APNs protocol changes.

Install

aioapns on PyPI

Before you install

Low install friction with three straightforward runtime dependencies (h2, pyOpenSSL, pyjwt). Repository shows active maintenance with a recent commit on 2025-04-14, though the package is aging relative to its release cycle.

Requires Python 3.8 or later; APNs certificate or token credentials (key file, key_id, team_id, topic) must be obtained from Apple Developer account.

License in practice

Licensed under Apache License, Version 2.0 (permissive), allowing commercial and private use with minimal restrictions—suitable for most production deployments.

Quickstart

pip install aioapns

import asyncio
from aioapns import APNs, NotificationRequest

async def send():
    client = APNs(client_cert='/path/to/cert.pem', use_sandbox=False)
    request = NotificationRequest(
        device_token='<TOKEN>',
        message={"aps": {"alert": "Hello"}}
    )
    await client.send_notification(request)

asyncio.run(send())

Verify before relying

  • Whether the stated 1.3k notifications per second throughput is still representative for version 4.0 under typical production loads.
  • Current status of HTTP/2 connection pool adaptation behavior and whether it remains optimal for high-concurrency scenarios.

Package facts

LicenseApache License, Version 2.0 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
h2pyOpenSSLpyjwt
MaintenanceAging 487 days since the last release
Last repo commit
First released
Downloads848,474 / month, #4,910 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: POSIXProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: aioapns-4.0-py3-none-any.whl

Tags

Capabilities
ios push notifications asyncioapns client library pythonapple push notification servicehttp2 async ios notificationsapns certificate token authasyncio push notification senderios device notification delivery
Topics
asyncioios-notificationsapns

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 › “ios push notifications asyncio”

  • aioapnsaioapns sends push notifications to iOS devices via Apple Push…
  • apns2-upSends push notifications to iOS devices through Apple's APNs service…
  • pyapns-clientSends Apple Push Notifications to iOS, macOS, and Safari devices via…

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

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also apns2-up · pyapns-client · urbanairship · aiosonic · moonraker-api · app-store-server-library · django-push-notifications · pywebpush · notifiers · pyobjc-framework-PushKit