A python3 version of pyapns
pyapns, a popular, fast, Python/Twisted based asynchronous push notification server for Apple Push Notification Services. This repo is used for Python3 environment.
Same as original pyapns.
-
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.