Prawdditions is an auxiliary package for the PRAW project, designed to supplement its existing functionality. Prawdditions aims to add more abstract functionality to the praw libraries that would otherwise clash with the clean design that praw 4.0.0 exhibits. An example of this is an abstracted message function that does not extend from a redditor or subreddit class. Prawdditions adds this functionality in a manner that doesn’t explicitly require the instantiation of such objects, and will aim to build out similar such functionality in the future.
Install prawdditions using pip via:
pip install prawdditions
The following example demonstrates how to use prawdditions…
import praw import prawdditions #Instantiate Reddit Client reddit = praw.Reddit(...) #Abstract message function now available. reddit.message('user_or_subreddit','subject','body')
Author: Randy Goodman
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size prawdditions-0.1.3.tar.gz (3.0 kB)||File type Source||Python version None||Upload date||Hashes View|
|Filename, size prawdditions-0.1.3-py2.7.egg (4.6 kB)||File type Egg||Python version 2.7||Upload date||Hashes View|