Skip to main content

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")

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)

Source distribution for PushedPy 0.0.2
File Size Uploaded
PushedPy-0.0.2.tar.gz 1.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PushedPy 0.0.2
File Interpreter ABI Platform
PushedPy-0.0.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 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