Rust implementation for sending APNs push notifications
Usage
import py3a2
# Returns integer as request status code
# * 200 Success
# * 400 Bad request
# * 403 There was an error with the certificate or with the provider authentication token
# * 405 The request used a bad `:method` value. Only `POST` requests are supported.
# * 410 The device token is no longer active for the topic.
# * 413 The notification payload was too large.
# * 429 The server received too many requests for the same device token.
# * 500 Internal server error.
# * 503 The server is shutting down and unavailable.
py3a2.send_notification(cert_file # Binary p12 file
password, # Password for the p12 file
device_token, # Device token
title, # Title of the message
message, # Body of message
is_sandbox, # Is sandbox environment
topic, # Topic
badge, # Badge
custom_id, # APNS-ID
user_id) # Custom data - user id
Release files for py3a2 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| py3a2-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.17+ x86-64 | Details |
| py3a2-0.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details |
| py3a2-0.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details |
| py3a2-0.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.17+ x86-64 | Details |
| py3a2-0.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.17+ x86-64 | Details |
| py3a2-0.1.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.17+ x86-64 | Details |
Total release size: 16.7 MB
Release files / py3a2-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | py3a2-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1f59d64d0c47462e72db9cd90d4c52b7c9b89fb0dc54b306ec32c3bd9b48a9ff
|
|
BLAKE2b-256 checksum How to use checksums |
a2ff06390e75392bfccb73dda5f630491871814f28e4f13794ba29723b6d1e31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / py3a2-0.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | py3a2-0.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
64b938e25010e3fe28bd5559df31473795f405f0735772a35336844e4d0ab2e9
|
|
BLAKE2b-256 checksum How to use checksums |
51c90b45e0206786fac606241c5f43770c2769193cbf22ebb94b1bf409c14aca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / py3a2-0.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | py3a2-0.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
21e8f52ff5a9af39be5f60c838998a60a0a0cefee239311e8b6dcd2b688e6b9e
|
|
BLAKE2b-256 checksum How to use checksums |
2da103be0577c1de63c06d708ac573d46b94f63b39222bbd6b0a9f01d95f96a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / py3a2-0.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | py3a2-0.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b05b8445f227d2f7ca9ed341cf881b0f2109ab0c07f4b4cccd34e7d7e95d4bdd
|
|
BLAKE2b-256 checksum How to use checksums |
b92860aaa29dd4c9a73a8fb49e216b8db4be777e1d8b05c3bc849a49388aed58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / py3a2-0.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | py3a2-0.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
06b54dddab2dda93b49dadb98cbfc9d42f26f18cbce14c36215782b41d62dd42
|
|
BLAKE2b-256 checksum How to use checksums |
886df8f73c855bc1c8a6853131d892b6be40889b2501f89496e6e953034f86a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / py3a2-0.1.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | py3a2-0.1.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
dc1e6f9462681bcc76d1ec94d3a1f07f6a4ffd85e25127744267071a6f5644ff
|
|
BLAKE2b-256 checksum How to use checksums |
dad0e3aff4b265e15bf4452530e09326300666cf0e4a49ef9f91ac61323b0058
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|