Lemmy.py
Python wrapper for the Lemmy ( https://github.com/LemmyNet/lemmy ) API. Based the official Lemmy TS library.
from lemmy import Lemmy
# Login to your account
lemmy = Lemmy("https://lemmy.ml")
lemmy.log_in("username_or_email", "password")
# Get a community ID
community_id = lemmy.discover_community("community_name")
# Get all posts from a community by ID
community_posts = lemmy.post.list(community_id=community_id)
# Get the modlog of your server
modlog = lemmy.modlog.get()
# Post a new publication on a community
lemmy.post.create(community_id=community_id, name="First Post!", body="This is the first community post.")
Metadata
Release files for Lemmy.py 0.0.2
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 | |
|---|---|---|---|---|
| Lemmy.py-0.0.2.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Lemmy.py-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.4 kB
Release files / Lemmy.py-0.0.2.tar.gz
| Download URL | Lemmy.py-0.0.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f66989d6eda18b1f7a1cd9e3065b67b278b8860e1fef2a619e498031e3b50605
|
|
BLAKE2b-256 checksum How to use checksums |
51e867a6422c07f685048e469fe2295b97fc999bfb072f1c1f4a0aa064d07966
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / Lemmy.py-0.0.2-py3-none-any.whl
| Download URL | Lemmy.py-0.0.2-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d781861c2212d7cd1378ad59979ea898b4ed313a5626b890e78f28aefda997d6
|
|
BLAKE2b-256 checksum How to use checksums |
b6d05065ede0e9bbd005897f3a821e08dea9c7300a1ec1d4cd06875b839f7d13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for Lemmy.py 0.0.2
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.