Installation
rule34Py is available directly from the Python Package Index and can be installed via pip.
pip install rule34Py
Or you can build it from source using this project. See the Developer Guide for more information.
Quickstart
from rule34Py import rule34Py
client = rule34Py()
client.api_key = "YOUR_API_KEY"
client.user_id = "YOUR_USER_ID"
# Get comments of an post.
client.get_comments(4153825)
# Get post by its id.
client.get_post(4153825)
# Get top 100 icame.
client.icame()
# Search for posts by tag(s).
client.search(["neko"], page_id=2, limit=50)
# Get pool by id.
client.get_pool(28)
# Get a random post.
random = client.random_post()
# Get just a random post ID.
random_id = client.random_post_id()
Documentation
This project has extensive documentation, hosted on the upstream Github Pages. It includes additional Tutorials, User Guides, API Documentation, and more.
See the Contributing Guide for information about how to contribute to this project and file bugs.
Metadata
Release files for rule34Py 4.2.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 | |
|---|---|---|---|---|
| rule34py-4.2.0.tar.gz | 27.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rule34py-4.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 61.5 kB
Release files / rule34py-4.2.0.tar.gz
| Download URL | rule34py-4.2.0.tar.gz |
|---|---|
| Size | 27.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c43de2106f01419e0dd2594000645bcc584302d1508a7343881103a475ca9d6
|
|
BLAKE2b-256 checksum How to use checksums |
f001b8fe66d4ac86335f882c6e4b5d245e04ce12846b61d206b773857a743358
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.5 Linux/7.0.10-arch1-1
|
Release files / rule34py-4.2.0-py3-none-any.whl
| Download URL | rule34py-4.2.0-py3-none-any.whl |
|---|---|
| Size | 34.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d09113f0a15ab4a035347ed3ca2bb4048a5c29c9057ab0712b49efac47f20cd
|
|
BLAKE2b-256 checksum How to use checksums |
ea7ca17c2cfdde7123e12093e922b3091b6000566a74f737c50807191c699375
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.5 Linux/7.0.10-arch1-1
|
Security for rule34Py 4.2.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.