Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 749 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 749 Bytes

py3apns

A python3 version of pyapns

Intro

pyapns, a popular, fast, Python/Twisted based asynchronous push notification server for Apple Push Notification Services. This repo is used for Python3 environment.

Usage & Configuration

Same as original pyapns.

Notes

  • Due to Twisted currently doesnt full support python3(its Feb 2016). You have to run twistd using python2, for example:

    $ python2 /usr/bin/twistd web --class=pyapns.server.APNSServer --port=7077
    
  • When performing batched notifications, the token and notification arrays must be exactly the same length.