PMTW allows for simple access to Reddit Moderator Toolbox
Project description
Installation
PMTW requires Python 3.7+. The recommended way to install PMTW is via pip
pip install pmtw
For instructions on installing Python and pip see "The Hitchhiker's Guide to Python" Installation Guides
Quickstart
A Toolbox instance is the recommended way of interacting with Toolbox through
PMTW. A Toolbox instance provides access to both Toolbox's settings and
usernotes through toolbox.settings and toolbox.usernotes respectively.
A Toolbox instance is instantiated with a praw Subreddit instance.
For Example:
import praw
import pmtw
reddit = praw.Reddit(
client_id="my client id",
client_secret="my client secret",
password="my password",
user_agent="my user agent",
username="my username",
)
toolbox = pmtw.Toolbox(
reddit.subreddit("my moderated subreddit")
)
Once you have a toolbox instance, you can interact with usernotes through
toolbox.usernotes and settings through toolbox.settings
Documentation
PMTW's documentation is located at https://pmtw.readthedocs.io/
License
PMTW's source is provided under the Simplified BSD License
- Copyright ©, 2021, 2022 adhesiveCheese
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pmtw-1.1.3.tar.gz.
File metadata
- Download URL: pmtw-1.1.3.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77f1c24b26a0b934a883ed167bb033c298cd1726481df4d0a5347cc1630c7308
|
|
| MD5 |
84ec05f9d6fba06c43434fe4b3210048
|
|
| BLAKE2b-256 |
4b77bb6bca9e8e577ca5fd39d7646979e0cd17d1d0f767ca200d1846ef42427e
|
File details
Details for the file pmtw-1.1.3-py3-none-any.whl.
File metadata
- Download URL: pmtw-1.1.3-py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b47c6fd36cd319d49cdac08c6b84ee1b881cb257fd0a929060c091da0dfd4bee
|
|
| MD5 |
9acaaa5b4897ed432c130b3882d215b4
|
|
| BLAKE2b-256 |
936115dd450a26395526adc93bc8b49019ed64925adc736970d04f12f2e0b96f
|