Skip to main content

Asynchronous Apple Push Notification Service client

Project description


CircleCI Documentation Status

Asynchronous Apple Push Notification Service client.


from aapns import connect, Notification, Alert, Production, Localized
from aapns.config import Priority

async def send_hello_world():
    connection = await connect('/path/to/push/cert.pem', Production)
    apns_id = await connection.send_notification(
                    key='Hello World!',
                    args=['foo', 'bar']
    print(f'Sent push notification with ID {apns_id}')'
    await connection.close()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aapns, version 19.2
Filename, size File type Python version Upload date Hashes
Filename, size aapns-19.2-py2.py3-none-any.whl (9.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page