Skip to main content
Features:

* XML-RPC Based, works with any client in any language
* Native Python API with Django and Pylons support
* Scalable, fast and easy to distribute behind a proxy
* Based on Twisted
* Multi-application and dual environment support
* Simplified feedback interface

pyapns is an APNS provider that you install on your server and access through XML-RPC.
To install you will need Python, Twisted_ and pyOpenSSL_. It's also recommended to
install `python-epoll`_ for best performance (if epoll is not available, like on
Mac OS X, you may want to use another library, like `py-kqueue`_. If you like
easy_install try (it should take care of the dependancies for you)::

$ sudo pip install pyapns

pyapns is a service that runs persistently on your machine. To start it::

$ twistd -r epoll web --class=pyapns.server.APNSServer --port=7077

To get started right away, use the included client::

$ python
>>> from pyapns import configure, provision, notify
>>> configure({'HOST': 'http://localhost:7077/'})
>>> provision('myapp', open('cert.pem').read(), 'sandbox')
>>> notify('myapp', 'hexlified_token_str', {'aps':{'alert': 'Hello!'}})

A lot more documentation and the issue tracker can be found on the `github page
<http://github.com/samuraisam/pyapns>`.

Metadata

Release files for pyapns 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyapns 0.4.1
File Size Uploaded
pyapns-0.4.1.tar.gz 14.1 kB Details

Release files / pyapns-0.4.1.tar.gz

Download URL pyapns-0.4.1.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
48477d53d5bde7f4abb798333022f34e8d32fad24c9bb4dffdf4f43fd471c889
BLAKE2b-256 checksum
How to use checksums
cb2e29d6f9d0ae2f6effb4260d5d1e9786dc27106a56e7bb3e6890e409ae748c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.1 This release

1 release file

0.4.0

1 release file

0.3.2

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

3 release files

0.2

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page