This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python client for Pushwoosh

Project Description

Pushwoosh Python Library

Supported API Version: 1.3

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
Release History

Release History

This version
History Node

0.2.1

History Node

0.2.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pypushwoosh-0.2.1-py2.py3-none-any.whl (13.2 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Apr 25, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting