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
Metadata
Release files for pmtw 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pmtw-1.1.3.tar.gz | 18.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pmtw-1.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.6 kB
Release files / pmtw-1.1.3.tar.gz
| Download URL | pmtw-1.1.3.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77f1c24b26a0b934a883ed167bb033c298cd1726481df4d0a5347cc1630c7308
|
|
BLAKE2b-256 checksum How to use checksums |
4b77bb6bca9e8e577ca5fd39d7646979e0cd17d1d0f767ca200d1846ef42427e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / pmtw-1.1.3-py3-none-any.whl
| Download URL | pmtw-1.1.3-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b47c6fd36cd319d49cdac08c6b84ee1b881cb257fd0a929060c091da0dfd4bee
|
|
BLAKE2b-256 checksum How to use checksums |
936115dd450a26395526adc93bc8b49019ed64925adc736970d04f12f2e0b96f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|