APNsPusher is a Python version of APNs caller.
- Python 3.6 ( I do not sure how about Python 2.7 )
- cryptography
- pyjwt
- hyper
Put your .p8 file to this folder, then
pip install -r requirement.txt
replace apns.py
apns_key_id
apns_key_name
team_id
bundle_id
then run Python
from apns import APNsPusher
APNsPusher().push("Test Title", "Test Body", "device token", IS_PRODUCTION)