Lemmy Post Automation
A bot to automate regular image posts from a variety of sources.
Running the Bot
In its default configuration, the bot is set up to accept links to image boards in a CSV list. It then processes the list on a schedule defined using cron syntax, checks the target community for duplicates, and then posts the image (reuploaded to a provided hosting site) with a title in the format of Title [Content Warning] (Artist). Below is an example configuration setup to post images from data/post_list.csv to transfem every day at 6am:
import os
from pythonlemmy import LemmyHttp
from postautomation import PostAutomation
if __name__ == "__main__":
lemmy = LemmyHttp("https://lemmy.blahaj.zone")
lemmy.login("username", "hunter2")
automation = PostAutomation.create(
lemmy,
"transfem",
"data/post_list.csv",
"0 6 * * *"
)
automation.run()
From this, custom upload targets can be provided, as well as custom scrapers.
Metadata
Release files for lemmy-post-automation 1.4.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 |
|---|---|---|---|---|
| lemmy_post_automation-1.4.0.tar.gz | 6.9 kB | Without provenance | Details for lemmy_post_automation-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lemmy_post_automation-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for lemmy_post_automation-1.4.0-py3-none-any.whl |
Total release size: 16.2 kB
Release files / lemmy_post_automation-1.4.0.tar.gz
| Download URL | lemmy_post_automation-1.4.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d0e9d7a0a62e400beaf85654bfdb16fdf68d9a18225d65eed162a0c8772db67
|
|
BLAKE2b-256 checksum How to use checksums |
67885c2edd5d5389f5323888ca70d820868a5e844d6ed0f3d3b2ba2e6bfd6d74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Release files / lemmy_post_automation-1.4.0-py3-none-any.whl
| Download URL | lemmy_post_automation-1.4.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee1afd3f7b0ff9f048974ef8ad98f3e0ce050c66e87bf6a3085bee8e1af9d590
|
|
BLAKE2b-256 checksum How to use checksums |
c194693dbe6d71dd85bbd6b610cabf0d315275ee4332cf519988e7eba991466d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Security for lemmy-post-automation 1.4.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.