Skip to main content

API wrapper for rule34.xxx

Project description

rule34py

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
r34Py = rule34Py()

# Get comments of an post.
r34Py.get_comments(4153825)

# Get post by its id.
r34Py.get_post(4153825)

# Get top 100 icame.
r34Py.icame()

# Search for posts by tag(s).
r34Py.search(["neko"], page_id=2, limit=50)

# Get pool by id.
r34Py.get_pool(28)

# Get a random post.
random = r34Py.random_post()

# Get just a random post ID.
random_id = r34Py.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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rule34py-3.0.0.tar.gz (64.4 kB view details)

Uploaded Source

Built Distribution

rule34py-3.0.0-py3-none-any.whl (59.9 kB view details)

Uploaded Python 3

File details

Details for the file rule34py-3.0.0.tar.gz.

File metadata

  • Download URL: rule34py-3.0.0.tar.gz
  • Upload date:
  • Size: 64.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for rule34py-3.0.0.tar.gz
Algorithm Hash digest
SHA256 04411edffed976d0839b12495a8be87b9111e15a7fbb6c817e0d64db1d4f3edf
MD5 bc7042a5acbdb55f1b1b58ad6305b791
BLAKE2b-256 54d1a3ccbdb00323d74edd30ba4a3641abb642161002a164242cba6f5a6cc06b

See more details on using hashes here.

File details

Details for the file rule34py-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: rule34py-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 59.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for rule34py-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45c92a5f829602c61376be97ec08d0689aa87ebced2b7aebd7cb76125b9ff591
MD5 0581db3b1b710a6f2490485e01226cf5
BLAKE2b-256 2162e72504ec4d92b4c69fdd81c5b5f83ae4a98fb8f4a2e791110fa1b9ff3df4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page