semvec/pypi-packages huggingface dataset:
ibl 0.0.6
Python api wrapper for infinity bot list
License: MIT
Keywords: infinity bot list infinity-bot-list-python-api ibl

# IBL
#### Python API Wrapper for https://infinitybots.xyz

# POST BOT STATS
## await ibl.post_stats(bot_id, auth_token, servers, shards=0)
### Example:
```py
import discord
from discord.ext import tasks

@tasks.loop(minutes=30)
async def update_ibl():
    await ibl.post_stats(bot.user.id, "auth_token", len(bot.guilds))
```
# GET USER INFO
## await ibl.user_info(id)
### Returns:
user.username
- String

user.about
- String

user.certified_dev
- BOOL

user.staff
- LIST/ARRAY

user.developer
- STRING

user.error
- BOOL

# GET BOT INFO

## await ibl.bot_info(id)

### RETURNS
bot.name <br>
bot.certified <br>
bot.tags <br>
bot.prefix <br>
bot.owner <br>
bot.library <br>
bot.short_desc <br>
bot.long_desc <br>
bot.premium <br>
bot.nsfw <br>
bot.servers <br>
bot.shards <br>
bot.votes <br>
bot.invites <br>
bot.website <br>
bot.donate <br>
bot.support <br>
bot.banner <br>
bot.staff <br>
bot.error <br>
damalan 0.0.1
Create a Dash application layout from a markup file
License: MIT
Requires Python: >=3.7

# damalan

[![pipeline status](https://gitlab.com/runemaster/damalan/badges/master/pipeline.svg)](https://gitlab.com/runemaster/damalan/-/commits/master)
[![coverage report](https://gitlab.com/runemaster/damalan/badges/master/coverage.svg)](https://gitlab.com/runemaster/damalan/-/commits/master)

## Introduction

Damalan uses an XML-based template syntax that allows users to declaratively
create the layout of [Dash](https://dash.plotly.com/) applications. Damalan allows
users to create both complete or partial layouts that can be loaded after into the
layout of any `Dash` application.

## Example

Create an `XML` file using the following syntax:

```xml
<dash_html_components.Div>
  <dash_html_components.H1>Title</dash_html_components.H1>
  <dash_html_components.H3>Subtitle</dash_html_components.H3>
  <dash_html_components.Div>
    <dash_core_components.Input id="input-control"/>
    <dash_core_components.Graph id="plot-element"/>
  </dash_html_components.Div>
</dash_html_components.Div>
```

After that, load the file in your `Dash` application and load its
contents as the application layout:

```python
from dash import Dash
from damalan import database, parser

db = database.Database()

with open("file.xml", "r") as fp:
    root = parser.load_tree_from_string(fp.read())

app = Dash(__name__)
app.layout = parser.build_component_from_element(db, root)
```