PushedPy
PushedPy is a simple Python wrapper for the Pushed.co API, that allows you to send push notifications, in real-time, to iOS and Android devices + Chrome, Firefox and Safari browsers.
To send push notifications through Pushed.co, you need two things:
- Create an account on https://pushed.co/
- If you want to send push notifications to a mobile device, you need to download the Pushed.co app to the device.
Pushed.co is a paid service, but they offer a sandbox plan that gives you the ability to send up to 1.000 messages pr. month, for free.
Basic usage
To send a push notification in it's simplest form, simply do:
import Pushed
pushed_obj = Pushed("MyAppKey", "MyAppSecret")
r = pushed_obj.Notification("My message to send as a push notification")
print(r)
To send a push notification including an attached URL, add the URL when calling the Notification function:
r = pushed_obj.Notification("My push message", "http://mysite.com")
Metadata
Release files for PushedPy 0.0.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 | Provenance | Actions |
|---|---|---|---|---|
| PushedPy-0.0.2.tar.gz | 1.6 kB | Without provenance | Details for PushedPy-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PushedPy-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for PushedPy-0.0.2-py3-none-any.whl |
Total release size: 15.8 kB
Release files / PushedPy-0.0.2.tar.gz
| Download URL | PushedPy-0.0.2.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a55f6518cd6f3a96086c911f4a49accb2f40f8b79cfe1b8085ec17ddb90f164
|
|
BLAKE2b-256 checksum How to use checksums |
866cb5e57c642a4112483aa19cec0a05fa51fd7a8258af18194149684cb4deaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Release files / PushedPy-0.0.2-py3-none-any.whl
| Download URL | PushedPy-0.0.2-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33a6c234d9250dcfc3e174440513b5a2f9b701c355c526c4ddbf139422b7716a
|
|
BLAKE2b-256 checksum How to use checksums |
dd1449386ac3b7f5226624c0eb01915b2ff300c49329cc52b73818c721dad517
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Security for PushedPy 0.0.2
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.