python-pushsafer aims at providing comprehensive Python bindings for the API of the Pushsafer Notification Service as documented here.
Forked from and original created by: Thibauth https://github.com/Thibauth/python-pushover
Installation
Install from pip:
pip install python-pushsafer
or you can install it directly from GitHub:
git clone https://github.com/appzer/python-pushsafer.git
cd python-pushsafer
pip install .
Overview
from pushsafer import Client
client = Client("<privatekey>")
resp = client.send_message("Message", "Hello", "323", "1", "#FF0000", "4", "2", "https://www.pushsafer.com", "Open Pushsafer", "0", "2", "60", "600", "10", "1", "yes|no|maybe", "1", "", "", "")
print(resp)
Params
client.send_message(
"Message",
"Title",
"Device or Device Group ID",
"Icon",
"Color",
"Sound",
"Vibration",
"URL",
"URL Title",
"Time2Live",
"Priority",
"Retry",
"Expire",
"Confirm",
"Answer",
"AnswerOptions",
"AnswerForce",
"Image 1",
"Image 2",
"Image 3")
API
You can access the full API documentation here.
Contributors
Kevin Siml <info@appzer.de>
John Morris <2e0byo@gmail.com>
Changes
1.2 (2026-01-05)
add pushsafer parameter icon color
1.1 (2023-03-11)
add new pushsafer parameter answer options, answer force, confirm
1.0 (2021-10-25)
Fix bugs and completely rewrite.
0.4 (2018-08-19)
add new pushsafer parameter priority, retry, expire, answer
0.3 (2017-11-28)
ignore verifying the SSL certficate (trust self signed certificates)
0.2 (2017-02-12)
Add new parameters (url, url title, time2live, image 1-3), minor bugfixes
0.1 (2016-09-13)
Initial Release
Metadata
Release files for python-pushsafer 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_pushsafer-1.2.tar.gz | 15.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_pushsafer-1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.5 kB
Release files / python_pushsafer-1.2.tar.gz
| Download URL | python_pushsafer-1.2.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bae3b73f12c7615a9de300e64bed983b85f2371d7df558e363028105e19b6ffe
|
|
BLAKE2b-256 checksum How to use checksums |
a7668841f1e608be54a5c5a9f118f486434fe5966977b3681694c29a1b1834fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.8.0 urllib3/1.26.15 tqdm/4.19.4 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.3
|
Release files / python_pushsafer-1.2-py3-none-any.whl
| Download URL | python_pushsafer-1.2-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d36360ef8ab84218ac53c5c8efc7aa7b590a1aec4197b8f7d4c2b84d6619ea92
|
|
BLAKE2b-256 checksum How to use checksums |
4353a0138db563ed7e55bb65e3763d65cc27af879fd5c3994501f51251b932a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.8.0 urllib3/1.26.15 tqdm/4.19.4 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.3
|