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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PushedPy-0.0.2.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PushedPy-0.0.2-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file PushedPy-0.0.2.tar.gz.

File metadata

  • Download URL: PushedPy-0.0.2.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for PushedPy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9a55f6518cd6f3a96086c911f4a49accb2f40f8b79cfe1b8085ec17ddb90f164
MD5 d78b0d8628e57bb326c64dddafe0c77d
BLAKE2b-256 866cb5e57c642a4112483aa19cec0a05fa51fd7a8258af18194149684cb4deaa

See more details on using hashes here.

File details

Details for the file PushedPy-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: PushedPy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for PushedPy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 33a6c234d9250dcfc3e174440513b5a2f9b701c355c526c4ddbf139422b7716a
MD5 46f02380cd9aab18645599ebea83c0d9
BLAKE2b-256 dd1449386ac3b7f5226624c0eb01915b2ff300c49329cc52b73818c721dad517

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page