Superscriptions: A (super-)thin Python 2.7 wrapper around the Superfeedr PubSubHubbub API.
Project description
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.
Free software: BSD license
Documentation: http://superscription.rtfd.org.
Features
The various hub.modes offered by Superfeedr are made available as straightforward & intuitive methods.
An (almost) one-to-one mapping of allowed parameters to keyword-arguments for these methods.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file superscription-0.1.2.tar.gz
.
File metadata
- Download URL: superscription-0.1.2.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c344dd05e8d71774dd3b26ea005aa120b2ecdc808d4547d2246178c3355e3244 |
|
MD5 | 6e13bc3f0888446063328aa9683b8f69 |
|
BLAKE2b-256 | b1dbcad6680a219e18229aa59794b05c34046345fc9cdf1ceba73512926eb5a4 |