Skip to main content

API wraper for rule34.xxx

Reason this release was yanked:

Outdated

Project description

rule34Py Downloads

This is a Simple rule34.xxx API wraper.
Read the Documentation

Whats new?

See Changelog for more informations.

Documentation

New Documentation for current version
Old Documentation (for version 1.3.38 and below!)

Ideas

Moved to TODO.md or/and see Issues.

Installation

pip install rule34Py

Code Snippet

from rule34Py import rule34Py

r34Py = rule34Py()

print(r34Py.version)

result_comments = r34Py.get_comments(4153825)
result_post = r34Py.get_post(4931536)
result_icame = r34Py.icame()
result_search = r34Py.search(["neko"], page_id=2, limit=50)
result_pool = r34Py.get_pool(17509) # or r34Py.get_pool(17509, false)
result_random = r34Py.random_post(["neko"]) # or r34Py.random_post()
result_tagmap = r34Py.tagmap()

# Stats
result_topTaggers = r34Py.stats.top_taggers()
result_topCommenters = r34Py.stats.top_commenters()
result_topForumPosters = r34Py.stats.top_forum_posters()
result_topImagePosters = r34Py.stats.top_image_posters()
result_topNoteEditors = r34Py.stats.top_note_editors()
result_topFavorites = r34Py.stats.top_favorites()

print(result_random.id)
print(result_random.image)

print(result_icame[0].character_name) # returns the character name of the first item

print(result_tagmap[0].tagname)

Build it your self

foo@bar:~$ git clone git@github.com:b3yc0d3/rule34Py.git
foo@bar:~$ cd rule34Py

(on linux just run; ./build.sh)
foo@bar:~$ python setup.py bdist_wheel
foo@bar:~$ python setup.py sdist
foo@bar:~$ python setup.py bdist_wheel sdist

foo@bar:~$ pip install -e .

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

rule34Py-1.4.8.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rule34Py-1.4.8-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file rule34Py-1.4.8.tar.gz.

File metadata

  • Download URL: rule34Py-1.4.8.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for rule34Py-1.4.8.tar.gz
Algorithm Hash digest
SHA256 a3db3b571b2ecfd2ed34edbb6076b1aff81cf310bb14c00eba6d636ad75252b5
MD5 7ad1800b9ba6421462dbbb4b9608c162
BLAKE2b-256 c77c4406fc9458da99deab5bd68ce291d92240f9e5babed45fc06bcb69b3cbb7

See more details on using hashes here.

File details

Details for the file rule34Py-1.4.8-py3-none-any.whl.

File metadata

  • Download URL: rule34Py-1.4.8-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for rule34Py-1.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 14f11245756511a267b0cd88141bc41544efd6f763efdaacaec28471016a9f12
MD5 803d2708108064ad5a4830e49db15f30
BLAKE2b-256 bab9b94da36e706795948c21fa6f6fa5eec88e58abd71e4c56ffc9841d1b50cc

See more details on using hashes here.

Supported by

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