sopel-reddit
A reddit plugin for Sopel IRC bots.
Installation
Stable version:
pip install sopel-reddit
From source
pip install -e path/to/sopel-reddit
# optional: for development
pip install -r dev-requirements.txt
Note: Running the test suite with pytest -v tests/ requires both
sopel-reddit and sopel itself to be installed in the same venv.
Configuration
[reddit]
slash_info = True
# Allow expansion of inline references like `u/RandomRedditor` or `r/eyebleach`
# (links are always expanded)
app_id = abcdef0123456789
# Optional custom app ID for the reddit API
The app_id setting is provided mostly for future-proofing after API policy
changes announced by Reddit Inc. in April
2023.
It exists so possible future API limitations can be worked around by users
without requiring a package update. As of the time this package version was
published, the app_id setting does not need to have a value.
Special thanks
All contributors to the original reddit plugin for
Sopel.
Version 1.1.0
Changed:
- Improve consistency of when links are included in output (#9, #10)
- Improve ordering of user output fields (#11)
- Try harder to get a useful subreddit description (#13)
- Try harder to fetch source submission for video links (#14)
Fixed:
- Capitalization in generated subreddit URL (#13)
Version 1.0.1
Added:
- Handle
newsubdomain (#3) - Handle image links with post slugs (#6)
Changed:
- Improve URL-matching test coverage (#3, #4, #6)
Initial release - 1.0.0
Based on reddit.py from Sopel's built-ins as of upstream
commit 7ad23ec.
Added:
- Optional
app_idsetting (#1)
Metadata
Release files for sopel-reddit 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sopel-reddit-1.1.0.tar.gz | 9.9 kB | Without provenance | Details for sopel-reddit-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sopel_reddit-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for sopel_reddit-1.1.0-py3-none-any.whl |
Total release size: 18.1 kB
Release files / sopel-reddit-1.1.0.tar.gz
| Download URL | sopel-reddit-1.1.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a27681d344699e00dc87cb1e36e0c37b366520dd9a4f4e06300460c6a173a86
|
|
BLAKE2b-256 checksum How to use checksums |
5c720715d538cc23642310fb8f587434a9fb6a3555c7f749fd5a574a66c61049
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / sopel_reddit-1.1.0-py3-none-any.whl
| Download URL | sopel_reddit-1.1.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ac74ac23d4f2f13a6a644887fadbdffe259023f2932010d4d7d5a26382103ae
|
|
BLAKE2b-256 checksum How to use checksums |
92d75b50eede72baca09057902a4d0d0a9b02e6cf1c22801eee5c69890d5a12b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for sopel-reddit 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.