Skip to main content

rule34py

Build Status GPL-3.0

Python API wrapper for rule34.xxx.

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.

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)

Source distribution for rule34Py 4.2.0
File Size Uploaded
rule34py-4.2.0.tar.gz 27.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rule34Py 4.2.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

4.2.0 This release

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.4.11

2 release files

1.4.10

2 release files

1.4.9

2 release files

1.4.8

2 release files

1.4.7

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.38

2 release files

1.2.10

2 release files

1.1.10

2 release files

1.0.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page