Skip to main content

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


Download files

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

Source Distribution

pushbaby-0.0.3.tar.gz (12.9 kB view details)

Uploaded Source

File details

Details for the file pushbaby-0.0.3.tar.gz.

File metadata

  • Download URL: pushbaby-0.0.3.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pushbaby-0.0.3.tar.gz
Algorithm Hash digest
SHA256 77b691aca97f666850edc5741484e2715b01aaed3184bd00888d52d97aad267b
MD5 5a442d1c6f325437ee5df95f4e4be76c
BLAKE2b-256 e8c70c5cd58eb28a1b602d5df3779bdf48c6e39fabef8c33eae6c142683a9a6b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page