Skip to main content

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


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)

Uploaded Source

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

Hashes for PyWaifu-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b4b48b5b8b89625abc2dae7af3795f8b876fcd77cd6850bec36ade0ea7ac07c8
MD5 be89dc8caa7bc0cbe8eba2b0221a9615
BLAKE2b-256 8c9780dfa620b9810cd06ed6941a35f503410b772350e8788b7eabb368db9f95

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