Wirepusher
Wirepusher is an Android push notification app, which allows sending arbitrary push notifications (abstracting away all the fuss of Google's push notifications). The client can be configured to handle different categories of notification in different ways. See the Wirepusher docs here.
This is an unofficial Python library for Wirepusher. It supports all features of upstream Wirepusher (encrypted messages, images, actions, etc).
Basic usage
import wirepusher
wp = wirepusher.Wirepusher(MY_DEVICE_ID, "Test notifications")
wp.send("Test title", "Test message.")
Advanced usage
import wirepusher
# initialise with an encryption key configured on the device
wp = wirepusher.Wirepusher(MY_DEVICE_ID, "Test notifications", MY_PRE_SHARED_KEY)
# send a notification which will go to a URL when clicked and store the ID
mid = wp.send(
"Test title", "Test message.", action="https://www.youtube.com/watch?v=dQw4w9WgXcQ"
)
# replace existing notification with one with an image
wp.send(
"Test title",
"Test message.",
mid=mid,
image="https://wirepusher.com/assets/images/logo.png",
)
# clear notification
wp.clear(mid)
Metadata
Release files for wirepusher 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wirepusher-0.0.1.tar.gz | 4.3 kB | Without provenance | Details for wirepusher-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wirepusher-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for wirepusher-0.0.1-py3-none-any.whl |
Total release size: 8.7 kB
Release files / wirepusher-0.0.1.tar.gz
| Download URL | wirepusher-0.0.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee6b1e65a5138fa3e048d8a290019f585b38c3e576a7ffa6e396f4e455026d9e
|
|
BLAKE2b-256 checksum How to use checksums |
cbbb5cddecafcb6811d8fc2aac29eb9e1e6ffe073dca741bf4b6e77cf8fcc470
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / wirepusher-0.0.1-py3-none-any.whl
| Download URL | wirepusher-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65aaa423f7ac8aea507fbb9008f56833d1313761b5abb75d3aabd7154670040f
|
|
BLAKE2b-256 checksum How to use checksums |
f8f44d59b9658487eaa32a2586c05c4888d790e9028f276d088dc27cde9e7426
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for wirepusher 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.