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 & Hash SHA256 Hash Help||File Type||Python Version||Upload Date|
(4.6 kB) Copy SHA256 Hash SHA256
|Egg||2.7||Jul 6, 2017|
(4.7 kB) Copy SHA256 Hash SHA256
|Wheel||py2.py3||Jul 6, 2017|
(3.0 kB) Copy SHA256 Hash SHA256
|Source||None||Jul 6, 2017|