WaifuPicsPython
An asynchronous & synchronous Python API wrapper for https://waifu.pics.
pip install WaifuPicsPython
Asynchronous Code Example
import asyncio
from WaifuPicsPython import WaifuAsync
async def your_function():
wafiu_pics = WaifuAsync()
megumin_image_url = await wafiu_pics.sfw('megumin')
# returns 1 url as a string
waifu_images = await wafiu_pics.sfw('waifu', many=True)
# returns 30 urls in a list
random_sfw_image = await wafiu_pics.sfw('random')
# returns 1 random sfw image
lewd_waifu = await wafiu_pics.nsfw('waifu')
# returns 1 nsfw waifu url as a string
lewd_nekos = await wafiu_pics.nsfw('neko', many=True)
# returns 30 nsfw neko urls in a list
random_nsfw_images = await wafiu_pics.nsfw('random', many=True)
# returns 30 random nsfw images
asyncio.run(your_function())
Synchronous Code Example
from WaifuPicsPython import WaifuSync
def your_function():
wafiu_pics = WaifuSync()
megumin_image_url = wafiu_pics.sfw('megumin')
# returns 1 url as a string
waifu_images = wafiu_pics.sfw('waifu', many=True)
# returns 30 urls in a list
random_sfw_image = wafiu_pics.sfw('random')
# returns 1 random sfw image
lewd_waifu = wafiu_pics.nsfw('waifu')
# returns 1 nsfw waifu url as a string
lewd_nekos = wafiu_pics.nsfw('neko', many=True)
# returns 30 nsfw neko urls in a list
random_nsfw_images = wafiu_pics.nsfw('random', many=True)
# returns 30 random nsfw images
your_function()
Categories List
SFW
'waifu', 'neko', 'shinobu', 'megumin', 'bully', 'cuddle',
'cry', 'hug', 'awoo', 'kiss', 'lick', 'pat', 'smug', 'bonk',
'yeet', 'blush', 'smile', 'wave', 'highfive', 'handhold',
'nom', 'bite', 'glomp', 'slap', 'kill', 'kick', 'happy',
'wink', 'poke', 'dance', 'cringe'
NSFW
'waifu', 'neko', 'trap', 'blowjob'
Metadata
Release files for WaifuPicsPython 0.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 | Actions |
|---|---|---|---|---|
| WaifuPicsPython-0.2.0.tar.gz | 4.3 kB | Without provenance | Details for WaifuPicsPython-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| WaifuPicsPython-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for WaifuPicsPython-0.2.0-py3-none-any.whl |
Total release size: 12.6 kB
Release files / WaifuPicsPython-0.2.0.tar.gz
| Download URL | WaifuPicsPython-0.2.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fad778775cfe67c135f279e3e4db6498740243aabf4a8611e72a2e3de9679b54
|
|
BLAKE2b-256 checksum How to use checksums |
15d8ba05254825df24bb71e255ecda1ecbe66ca1467d0abc15cc37908ab2e4b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/30.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.2.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.6
|
Release files / WaifuPicsPython-0.2.0-py3-none-any.whl
| Download URL | WaifuPicsPython-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
390b95d3628f2ae64ab79bb789d5aae4aca0b6b198f4ddc5d387a705a63f985c
|
|
BLAKE2b-256 checksum How to use checksums |
96bf9d6a651be04533c16333ee99929a64d252e0f42210d4942ab7f19dce6d1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/30.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.2.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.6
|
Security for WaifuPicsPython 0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.