Metadata-Version: 2.1
Name: sidspackage
Version: 0.0.2
Summary: UNKNOWN
Home-page: https://github.com/FusionSid/sids-package
Author: Siddhesh Zantye
Author-email: siddheshadsv@icloud.com
License: UNKNOWN
Platform: UNKNOWN
Description-Content-Type: text/markdown
License-File: LICENCE.txt

# Sids Package

This is a me testing out putting a package on PyPi

[link to package](https://pypi.org/project/sidspackage/0.0.1/)
```
pip install sidspackage
```

# Colored Text

This is used to print messages with color in terminal
It can also make text bold and underlined

```py
from sidspackage import ColorPrint

cp = ColorPrint()

cp.print(color="blue", text="hi")

# To get a list of colors do:
cp.help
```

![Output](https://github.com/FusionSid/sids-package/blob/master/example2.png)

# Pycord Paginator

This is a paginator for pycord.
It takes a list of embeds and makes them paginated with buttons
You will need py-cord installed for this to work

![Example](https://github.com/FusionSid/sids-package/blob/master/example1.png)

## Usage

```py
from sidspackage import Paginator

async def func_name(ctx):
    embed1 = discord.Embed(title="Click the arrows", description="To look through the embeds")
    embed2 = discord.Embed(title="Test", description="Lol")
    embed3 = discord.Embed(title="Test", description="Lol")

    ems = [embed1, embed2, embed3]

    view = Paginator(ctx=ctx, ems=ems)

    message = await ctx.send(embed=embed1, view=view)

    # This part is optional but it makes it so that once the button timeouts it will be disabled so you wont get any INTERACTION FAILED errors.
    res = await view.wait()
    if res:
        for i in view.children:
            i.disabled = True
    return await message.edit(view=view)
```


Change Log
==========

0.0.1 (08/02/2022)
-------------------
- First Release

0.0.1 (08/02/2022)
-------------------
- Bug Fixes



