APNS library using gevent
Project description
PushBaby is a simple APNS library using gevent. PushBaby aims to do the hard bits of APNS for you and no more. It handles:
Packing APNS messages into the binary payload format
Establishing and reestablishing SSL connections
Receiving and propagating errors to your application, asynchronously
Encoding pushes to JSON using efficient encoding
Truncating messages to fit APNS
Retrying pushes on nonfatal errors
PushBaby takes APNS payloads as dictionaries: it does not attempt to construct them for you.
PushBaby does not load balance over multiple connections, although this is something that would be considered in the future.
If you use PushBaby, remember that the rest of your application must be gevent compatible, or you’ll find PushBaby won’t do important things like receive errors.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pushbaby-0.0.4.tar.gz
.
File metadata
- Download URL: pushbaby-0.0.4.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1645b96e547a326816b0da7c7be654669272a45667c32b7922de6562efc016e8 |
|
MD5 | 2bd5ba87aa7572e5881035b351c8ad6c |
|
BLAKE2b-256 | 3a99d4e14b3212d38387497bb3b495d1a23c9de29a3c0ffb75c7b3f4c681ad1e |