discake
==========
.. image:: https://discord.com/api/guilds/815886477066108968/embed.png
:target: https://discord.gg/egvmz5NjSZ
:alt: Discord server invite
.. image:: https://img.shields.io/pypi/v/discake.svg
:target: https://pypi.python.org/pypi/discake
:alt: PyPI version info
.. image:: https://img.shields.io/pypi/pyversions/discake.svg
:target: https://pypi.python.org/pypi/discake
:alt: PyPI supported Python versions
A discord py util library.
Key Features
-------------
- Button Paginator
Installing
----------
**Python 3.8 or higher is required**
.. code:: sh
# Linux/macOS
python3 -m pip install -U discake
# Windows
py -3 -m pip install -U discake
Quick Example
--------------
.. code:: py
import discord
from discord import Embed, Intents
from discord.ext import commands
from discake import Paginator
class MyBot(commands.Bot):
def __init__(self):
super().__init__(command_prefix = '!')
async def on_ready(self):
print('Logged on as', self.user)
client = MyBot(intents=Intents.default())
@client.command(name = 'paginate', description = 'Pagination using the library')
async def _paginate(ctx):
entry_list = []
for i in range(0,20):
embed = Embed(description = f'This is the {i}th page')
entry_list.append(embed)
paginate_object = Paginator(
entries = entry_list,
timeout = 10.0
)
await paginate_object.send(ctx)
client.run('TOKEN')
Links
------
.. image:: https://invidget.switchblade.xyz/egvmz5NjSZ?theme=light
:target: https://discord.gg/egvmz5NjSZ
:alt: Support Server
Author
------
.. image:: https://discord.c99.nl/widget/theme-3/545953035776688139.png
:target: https://discord.gg/egvmz5NjSZ
:alt: Author Info
Raw data
{
"_id": null,
"home_page": "https://github.com/lollipop-69/discake",
"name": "discake",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8.0",
"maintainer_email": "",
"keywords": "discord py,discord paginator,paginator,button paginator",
"author": "Carlos",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/32/9e/880315d4c2646d4e00703b121db425380b444ac7663c975a886df074544a/discake-0.1.0.tar.gz",
"platform": null,
"description": "discake\n==========\n\n.. image:: https://discord.com/api/guilds/815886477066108968/embed.png\n :target: https://discord.gg/egvmz5NjSZ\n :alt: Discord server invite\n.. image:: https://img.shields.io/pypi/v/discake.svg\n :target: https://pypi.python.org/pypi/discake\n :alt: PyPI version info\n.. image:: https://img.shields.io/pypi/pyversions/discake.svg\n :target: https://pypi.python.org/pypi/discake\n :alt: PyPI supported Python versions\n\nA discord py util library.\n\nKey Features\n-------------\n\n- Button Paginator\n\nInstalling\n----------\n\n**Python 3.8 or higher is required**\n\n\n.. code:: sh\n\n # Linux/macOS\n python3 -m pip install -U discake\n\n # Windows\n py -3 -m pip install -U discake\n\n\nQuick Example\n--------------\n\n.. code:: py\n\n import discord\n from discord import Embed, Intents\n from discord.ext import commands\n from discake import Paginator\n\n class MyBot(commands.Bot):\n def __init__(self):\n super().__init__(command_prefix = '!')\n \n async def on_ready(self):\n print('Logged on as', self.user)\n\n client = MyBot(intents=Intents.default())\n \n @client.command(name = 'paginate', description = 'Pagination using the library')\n async def _paginate(ctx):\n entry_list = []\n for i in range(0,20):\n embed = Embed(description = f'This is the {i}th page')\n entry_list.append(embed)\n paginate_object = Paginator(\n entries = entry_list,\n timeout = 10.0\n )\n await paginate_object.send(ctx)\n \n \n client.run('TOKEN')\n\nLinks\n------\n.. image:: https://invidget.switchblade.xyz/egvmz5NjSZ?theme=light\n :target: https://discord.gg/egvmz5NjSZ\n :alt: Support Server\n\nAuthor\n------\n.. image:: https://discord.c99.nl/widget/theme-3/545953035776688139.png\n :target: https://discord.gg/egvmz5NjSZ\n :alt: Author Info\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A discord py support library containing utilities.",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/lollipop-69/discake/"
},
"split_keywords": [
"discord py",
"discord paginator",
"paginator",
"button paginator"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9f917973c0c97f8821cf7e5d9561e34d81033b663d96c08d3b712dc65927ec0f",
"md5": "be4dd17ec04261296ed6035b89fedef2",
"sha256": "d90d8f9ac123af8c833c804dd97747fc8c80cda1292a7ed57ef5f0fedd8f6d1b"
},
"downloads": -1,
"filename": "discake-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "be4dd17ec04261296ed6035b89fedef2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.0",
"size": 5697,
"upload_time": "2023-05-17T11:12:19",
"upload_time_iso_8601": "2023-05-17T11:12:19.403199Z",
"url": "https://files.pythonhosted.org/packages/9f/91/7973c0c97f8821cf7e5d9561e34d81033b663d96c08d3b712dc65927ec0f/discake-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "329e880315d4c2646d4e00703b121db425380b444ac7663c975a886df074544a",
"md5": "a8d96715211d97347dcb2b553ef5538c",
"sha256": "59765e0c9b29d8eb95b438ab64af6e3b62a97bfbdb32c367c733e754a8057c44"
},
"downloads": -1,
"filename": "discake-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "a8d96715211d97347dcb2b553ef5538c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.0",
"size": 4893,
"upload_time": "2023-05-17T11:12:22",
"upload_time_iso_8601": "2023-05-17T11:12:22.689809Z",
"url": "https://files.pythonhosted.org/packages/32/9e/880315d4c2646d4e00703b121db425380b444ac7663c975a886df074544a/discake-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-17 11:12:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lollipop-69",
"github_project": "discake",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "discake"
}