Skip to main content

Superscriptions: A (super-)thin Python 2.7 wrapper around the Superfeedr PubSubHubbub API.

Project description

https://badge.fury.io/py/superscription.png https://travis-ci.org/shrikant-joshi/superscription.png?branch=master https://pypip.in/d/superscription/badge.png

Superscriptions: A (super-)thin Python2.7 wrapper around the Superfeedr PubSubHubbub API.

It uses the excellent requests module by Kenneth Reitz for interacting with the Superfeedr API endpoints. As a result, all responses are available (as object attributes on the superscription object itself) in their entirety, should you choose to introspect and/or work with them further.

Features

  1. The various hub.modes offered by Superfeedr are made available as straightforward & intuitive methods.

  2. An (almost) one-to-one mapping of allowed parameters to keyword-arguments for these methods.

  3. Each response is available in its entirety for inspection if needed, thanks to Kenneth Reitz’s excellent requests module.

Basic Usage

Basic usage is pretty straightforward and looks like this:

>>> from superscription import Superscription
>>> ss = Superscription("Marvin", "PainInMyDiodes")

More examples and details available in the documentation!

Please feel free to add to/modify the documentation and the project by forking and submitting a PR.

History

0.1.0 (2014-03-22)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

superscription-0.1.2.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file superscription-0.1.2.tar.gz.

File metadata

File hashes

Hashes for superscription-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c344dd05e8d71774dd3b26ea005aa120b2ecdc808d4547d2246178c3355e3244
MD5 6e13bc3f0888446063328aa9683b8f69
BLAKE2b-256 b1dbcad6680a219e18229aa59794b05c34046345fc9cdf1ceba73512926eb5a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page