Skip to main content

Library for easy requests hentai sites

Project description

Placeholder for now

CodeFactor

🎓 Hentailib

Python 3.9+ Licence: MIT Version PyPI Download PyPI English | Russian

A Python library for easy access and manipulation of hentai Sites

✨ Features

  • 🚀 Simple and intuitive API
  • 📅 Get random page or page by id from Rule34
  • 🛡️ Full type annotations and error handling
  • 📚 Comprehensive documentation
  • ✨ Automatically autocomplete tags

📦 Installation

pip install hentailib

🚀 Quick Start

Get random page picture url

from hentailib import Rule34Api

# set up client
client = Rule34Api("YOUR_API_HERE", "YOUR_USER_ID_HERE")

# get random page
response = client.utils.get_random_page("hu_tao")

# print url
print(response.url)

Get page by id

from hentailib import Rule34Api

# set up client
client = Rule34Api("YOUR_API_HERE", "YOUR_USER_ID_HERE")

# get random page
response = client.get_title(15220657)

# print url
print(response.url)

🐛 Bug Reports and Issues

If you find a bug or have a feature request, please create an issue on GitHub.

🤝 Development

Development Installation

git clone https://github.com/SerJo2/hentailib.git
cd hentailib

Running Tests

pytest tests/ -v

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

👨‍💻 Author

Onii-Chan

⭐ If this project helped you, please give it a star on GitHub!

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

hentailib-1.0.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

hentailib-1.0.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file hentailib-1.0.1.tar.gz.

File metadata

  • Download URL: hentailib-1.0.1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hentailib-1.0.1.tar.gz
Algorithm Hash digest
SHA256 52332642a2ff961423ace167fcc356ef3942b4b5ee49d06a7559f38ea964b1f1
MD5 83f20364f98d127a06abbd71d7256e33
BLAKE2b-256 ec2a2d17a3e3794af896159719f174fd9a787362cc50c41a18dc6b694553ac53

See more details on using hashes here.

Provenance

The following attestation bundles were made for hentailib-1.0.1.tar.gz:

Publisher: python-publish.yml on SerJo2/hentailib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hentailib-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: hentailib-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hentailib-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9969ae805a4898810ce4ab0a2563f44c440551cb0b185f52b49bc8b9997abda6
MD5 fd6d2867d8c851d32395adb7fedbc772
BLAKE2b-256 3a6fe6e37d5cdc1a403cf020e25ef658fcf9c61719390fc42bea53d6c09a566e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hentailib-1.0.1-py3-none-any.whl:

Publisher: python-publish.yml on SerJo2/hentailib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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