Skip to main content

Pushwoosh Python Library

Supported API Version: 1.3

https://travis-ci.org/Pushwoosh/pushwoosh-python-lib.svg?branch=master

Getting Started

Typical usage often looks like this:

#!/usr/bin/env python
from pypushwoosh.client import PushwooshClient
from pypushwoosh.command import CreateTargetedMessageCommand
from pypushwoosh.filter import ApplicationFilter


command = CreateTargetedMessageCommand()
command.auth = 'AUTH_TOKEN'
command.devices_filter = ApplicationFilter('APP-CODE')
command.content = "Hello world!"

client = PushwooshClient()
print client.invoke(command)

Features

At the moment, pypushwoosh supports:

  • Message commands:

    • CreateMessageForApplicationCommand

    • CreateMessageForApplicationGroupCommand

    • CreateTargetedMessageCommand

    • CompileFilterCommand

    • DeleteMessageCommand

  • Device commands:

    • RegisterDeviceCommand

    • GetTagsCommand

    • SetTagsCommand

    • SetBadgeCommand

    • PushStatCommand

    • GetNearestZoneCommand

For targeted messages, supports:

  • ApplicationFilter and ApplicationGroupFilter filters

  • Tag filters: IntegerTagFilter, StringTagFilter, ListTagFilter, DateTagFilter, DaysTagFilter, BooleanTagFilter

  • Tags filters by application

  • Operations filters: UnionFilter, IntersectFilter, SubtractFilter

Installation

Install via pip:

$ pip install pypushwoosh

Install from source:

$ git clone git://github.com/Pushwoosh/pushwoosh-python-lib.git
$ cd pushwoosh-python-lib
$ python setup.py install

Metadata

Release files for pypushwoosh 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypushwoosh 0.3.1
File Size Uploaded Provenance Actions
pypushwoosh-0.3.1.tar.gz 11.0 kB Without provenance Details for pypushwoosh-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pypushwoosh 0.3.1
File Interpreter ABI Platform Actions
pypushwoosh-0.3.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for pypushwoosh-0.3.1-py2.py3-none-any.whl

Total release size: 23.5 kB

Release files / pypushwoosh-0.3.1.tar.gz

Download URL pypushwoosh-0.3.1.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
34c87c2253a77973d3441203ce8af278bc2877de52e20cef74d7f328f1a074ee
BLAKE2b-256 checksum
How to use checksums
6dceeecc5048245af47e148556ab6e4cba3f426ca166ab700c359254a2397ad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1

Release files / pypushwoosh-0.3.1-py2.py3-none-any.whl

Download URL pypushwoosh-0.3.1-py2.py3-none-any.whl
Size 12.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7d80171f124b8833388425ebe69f71a827719df9e95dd0d47f5d0e92796b0f03
BLAKE2b-256 checksum
How to use checksums
78f514aa741539a22a1a44a222786b3ffe5c92b84e95e6f533fd41c3780219a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1

Security for pypushwoosh 0.3.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.

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