A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

Overview
Senpai Banner Discord server invite PyPI version info PyPI download info PyPI supported Python versions Documentation Status

A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

Key Features

  • Modern Pythonic API using async and await.
  • Proper rate limit handling.
  • Optimised in both speed and memory.

Installing

Python 3.8 or higher is required

To install the library without full voice support, you can just run the following command:

# Linux/macOS
python3 -m pip install -U sen-pai

# Windows
py -3 -m pip install -U sen-pai

Otherwise to get voice support you should run the following command:

# Linux/macOS
python3 -m pip install -U "sen-pai[voice]"

# Windows
py -3 -m pip install -U sen-pai[voice]

To install the development version, do the following:

$ git clone https://github.com/senpai-development/senpai
$ cd senpai
$ python3 -m pip install -U .[voice]

Optional Packages

Please note that on Linux installing voice you must install the following packages via your favourite package manager (e.g. apt, dnf, etc) before running the above commands:

  • libffi-dev (or libffi-devel on some systems)
  • python-dev (e.g. python3.6-dev for Python 3.6)

Quick Example

import senpai
from senpai import anime

bunny = anime.Bunny(command_prefix='>')

@bunny.event
async def on_ready():
    print('UwU online!')

@bunny.command()
async def ping(ctx):
    await ctx.send('pong uwu')

bunny.run('token')

You can find more examples in the examples directory.

Utility Support ----———————————- For other utilities such as music commands are available at BunnyUtils

This includes paginator and invite manager, more updates to BunnyUtils is coming soon!

Links

You might also like...
An async python wrapper to interact with the Steam API and its CMs

steam.py A modern, easy to use, and async ready package to interact with the Steam API. Heavily inspired by discord.py and borrowing functionality fro

Discord-Wrapper - Discord Websocket Wrapper in python

This does not currently work and is in development Discord Websocket Wrapper in

The modern Lavalink wrapper designed for discord.py
The modern Lavalink wrapper designed for discord.py

Pomice The modern Lavalink wrapper designed for discord.py This library is heavily based off of/uses code from the following libraries: Wavelink Slate

This is a simple unofficial async Api-wrapper for tio.run

Async-Tio This is a simple unofficial async Api-wrapper for tio.run

Acc-discord-rpc - Assetto Corsa Competizione Discord Rich Presence Client
Acc-discord-rpc - Assetto Corsa Competizione Discord Rich Presence Client

A simple Assetto Corsa Competizione Rich Presence client. This app only works in

A Anything goes Discord bot written in python and uses the wrapper Discord.py

GerardTheWizard A Anything goes Discord bot written in python and uses the wrapper Discord.py What can he do? Allow users to level up through typing,

A PowerPacked Version Of Telegram Leech Bot With Modern Easy-To-Use Interface & UI !
A PowerPacked Version Of Telegram Leech Bot With Modern Easy-To-Use Interface & UI !

FuZionX Leech Bot A Powerful Telegram Leech Bot Modded by MysterySD to directly Leech to Telegram, with Multi Direct Links Support for Enhanced Leechi

Petpy is an easy-to-use and convenient Python wrapper for the Petfinder API.

Petpy is an easy-to-use and convenient Python wrapper for the Petfinder API. Includes methods for parsing output JSON into pandas DataFrames for easier data analysis

ro.py is a modern, asynchronous Python 3 wrapper for the Roblox API.

GitHub | Discord | PyPI | Documentation | Examples | License Overview Welcome to ro.py! ro.py is an asynchronous, object-oriented wrapper for the Robl

Releases(v3.0.1)
  • v3.0.1(Nov 1, 2021)

  • v3.0.0(Nov 1, 2021)

    What's Changed

    • Adding Bunny Class by @VincentRPS in https://github.com/senpai-development/senpai/pull/10
    • V3 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/11
    • V3.0.0 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/13

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.5...v3.0.0

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0b1(Nov 1, 2021)

    What's Changed

    • Adding Bunny Class by @VincentRPS in https://github.com/senpai-development/senpai/pull/10
    • V3 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/11
    • V3.0.0 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/13

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.5...v3.0.0b1

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0a1(Nov 1, 2021)

    What's Changed

    • Adding Bunny Class by @VincentRPS in https://github.com/senpai-development/senpai/pull/10
    • V3 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/11
    • V3.0.0 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/13

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.5...v3.0.0a1

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0rc1.1(Oct 31, 2021)

    What's Changed

    • Adding Bunny Class by @VincentRPS in https://github.com/senpai-development/senpai/pull/10
    • V3 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/11
    • V3.0.0 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/13

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.5...v3.0.0rc1.1

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0rc1(Oct 31, 2021)

    What's Changed

    • Adding Bunny Class by @VincentRPS in https://github.com/senpai-development/senpai/pull/10
    • V3 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/11
    • V3.0.0 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/13

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.5...v3.0.0rc1

    Source code(tar.gz)
    Source code(zip)
  • 2.6.5.1(Oct 30, 2021)

  • 2.6.5(Oct 30, 2021)

    What's Changed

    • Rewrite by @VincentRPS in https://github.com/senpai-development/senpai/pull/9

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.4...2.6.5

    Source code(tar.gz)
    Source code(zip)
  • 2.6.4(Oct 30, 2021)

  • 2.6.4rc1(Oct 29, 2021)

  • 2.6.3.3(Oct 29, 2021)

  • 2.6.2(Oct 29, 2021)

  • 2.6.1(Oct 29, 2021)

  • 2.6.0(Oct 29, 2021)

  • 2.5.9(Oct 29, 2021)

    What's Changed

    • ANIME IS TEMPOARY CHADNESS IS FOREVER 🗿 by @alexyy802 in https://github.com/waifucord/waifucord/pull/2
    • Redid The Fork by @VincentRPS in https://github.com/waifucord/waifucord/pull/7

    Full Changelog: https://github.com/waifucord/waifucord/compare/2.5.8...2.5.9

    Source code(tar.gz)
    Source code(zip)
  • 2.5.8(Oct 29, 2021)

    What's Changed

    • Fixed utils Error by @VincentRPS in https://github.com/waifucord/waifucord/pull/5

    Full Changelog: https://github.com/waifucord/waifucord/compare/2.5.7...2.5.8

    Source code(tar.gz)
    Source code(zip)
  • 2.5.7(Oct 29, 2021)

    What's Changed

    • ANIME IS TEMPOARY CHAD IS FOREVER :moyai: by @alexyy802 in https://github.com/waifucord/waifucord/pull/4

    Full Changelog: https://github.com/waifucord/waifucord/compare/2.5.6...2.5.7

    Source code(tar.gz)
    Source code(zip)
  • 2.5.5(Oct 29, 2021)

  • 2.5.4(Oct 29, 2021)

  • 2.5.3(Oct 29, 2021)

    What's Changed

    • Re docs by @VincentRPS in https://github.com/waifucord/waifucord/pull/3

    New Contributors

    • @VincentRPS made their first contribution in https://github.com/waifucord/waifucord/pull/3

    Full Changelog: https://github.com/waifucord/waifucord/compare/v1.7.0...2.5.3

    Source code(tar.gz)
    Source code(zip)
Owner
Senpai Development
A library for anime enjoyers
Senpai Development
A modern, easy to use, feature-rich, and async ready API wrapper improved and revived from original discord.py.

A Python API wrapper that is improved and revived from the original discord.py

Orion 19 Nov 6, 2021
A modern,feature-rich, and async ready API wrapper for Discord written in Python

discord.io A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using asyn

Vincent 18 Jan 2, 2023
Async ready API wrapper for Revolt API written in Python.

Mutiny Async ready API wrapper for Revolt API written in Python. Installation Python 3.9 or higher is required To install the library, you can just ru

null 16 Mar 29, 2022
Low-level, feature rich and easy to use discord python wrapper

PWRCord Low-level, feature rich and easy to use discord python wrapper Important Note: At this point, this library API is considered unstable and can

MIguel Lopes 1 Dec 26, 2021
An async-ready Python wrapper around FerrisChat's API.

FerrisWheel An async-ready Python wrapper around FerrisChat's API. Installation Instructions Linux: $ python3.9 -m pip install -U ferriswheel Python 3

FerrisChat 8 Feb 8, 2022
🚀 An asynchronous python API wrapper meant to replace discord.py - Snappy discord api wrapper written with aiohttp & websockets

Pincer An asynchronous python API wrapper meant to replace discord.py ❗ The package is currently within the planning phase ?? Links |Join the discord

Pincer 125 Dec 26, 2022
☄️ High performance, easy to use and feature-rich Solana SDK for Python.

Solathon is an high performance, easy to use and feature-rich Solana SDK for Python. Easy for beginners, powerful for real world applications.

Bolt 28 Oct 10, 2022
A Discord Rich Presence App to set your own custom rich presence.

discord-rich-presence A Discord Rich Presence App to set your own custom rich presence. #BUILDS Ready to use package are available inside "finalpackag

null 1 Nov 22, 2021
YARSAW is an Async Python API Wrapper for the Random Stuff API.

Yet Another Random Stuff API Wrapper - YARSAW YARSAW is an Async Python API Wrapper for the Random Stuff API. This module makes it simpler for you to

Bruce 6 Mar 27, 2022
Mixcloud API wrapper for Python and Async IO

aiomixcloud Mixcloud API wrapper for Python and Async IO aiomixcloud is a wrapper library for the HTTP API of Mixcloud. It supports asynchronous opera

Aristotelis Mikropoulos 26 Dec 31, 2022