PyWaifu is a simple package that shows cute waifus
Project description
PyWaifu
PyWaifu is a simple package that shows cute waifus
# Simple example
import pywaifu
print(pywaifu.waifu())
> Parameters
- waifu()
# Returns a random image link
import pywaifu
print(pywaifu.waifu())
- version
# Returns the package version
import pywaifu
print(pywaifu.__version__)
Basic example in a discord bot
import discord
import pywaifu
bot = discord.Bot()
@bot.slash_command()
async def waifu(ctx):
result = pywaifu.waifu()
await ctx.respond(result)
bot.run('your_secret_token')
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
PyWaifu-1.0.1.tar.gz
(18.1 kB
view details)
File details
Details for the file PyWaifu-1.0.1.tar.gz.
File metadata
- Download URL: PyWaifu-1.0.1.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4b48b5b8b89625abc2dae7af3795f8b876fcd77cd6850bec36ade0ea7ac07c8
|
|
| MD5 |
be89dc8caa7bc0cbe8eba2b0221a9615
|
|
| BLAKE2b-256 |
8c9780dfa620b9810cd06ed6941a35f503410b772350e8788b7eabb368db9f95
|