semvec/pypi-packages huggingface dataset:
st-mui-dialog 0.0.10
Streamlit Component for MUI Dialogs
Requires Python: >=3.6

Streamlit MUI Dialog Component
===

This streamlit component adds a Dialog (Modal) with two buttons to Streamlit Apps. 

It implements the MUI Alert Dialog: https://mui.com/material-ui/react-dialog/

Installation
-----------

    $ pip install st-mui-dialog


Usage
------------

### Import the Component

    $ from st_mui_dialog import st_mui_dialog

### Initialize an instant

    $ answer = st_mui_dialog(title="Confirmation", content="Please confirm that you want to save the changes")


![Example](images\image1.png)

### Configuration Options

#### Button Labels

    #Open Button Label
    st_mui_dialog(..., button_txt = "Open the Dialog")
    
    #Abort Button Label
    st_mui_dialog(..., abortlabel = "DISAGREE")

    #Agree Button Label
    st_mui_dialog(..., abortlabel = "AGREE")

#### Styling

##### Dividers

    st_mui_dialog(..., divider = True)

![Example](images\image2.png)

##### Open the Dialog in Fullscreen (whole iFrame)
    #The open button will be hidden

    st_mui_dialog(..., fullscreen = True)

![Example](images\image3.png)

##### Transition Modes 

Currently not working

    st_mui_dialog(..., transition_mode = "zoom")

    #if the transition mode is 'slide' the paramater 'slide_direction' is needed
    st_mui_dialog(..., transition_mode = "slide", slide_direction = "up")

##### Width of the Dialog
The width is always limited to the widht of the iframe

    #Sets the max width to "xl"
    st_mui_dialog(..., width_dialog = "xl")

    #Always shows the max width of the dialog - If false the width will be dependent on the content.
    st_mui_dialog(..., adapt_width_dialog = True)

##### Button Styles

    #Button Types

    #Open Button
    st_mui_dialog(..., button_open_type = "primary")

    #Agree Button
    st_mui_dialog(..., button_agree_type = "warning")

    #Abort Button
    st_mui_dialog(..., button_abort_type = "success")


##### CSS Styles

It is possible to apply CSS Styles to the different MUI Elements of the Dialog

    st_mui_dialog(..., styling_dialog = """{"& .MuiModal-backdrop": {"backgroundColor": "red"},"& .MuiModal-container":{"backgroundColor" :"red"}""")
    st_mui_dialog(..., styling_open_button = """{"backgroundColor" :"lightgreen"}""")
    st_mui_dialog(..., styling_agree_button = """{"backgroundColor" :"yellow"}"""")
    st_mui_dialog(..., styling_abort_button = """{"backgroundColor" :"blue"}""")
    st_mui_dialog(..., styling_dialog_content = """{"backgroundColor" :"blue"}""")
    st_mui_dialog(..., styling_dialog_title = """{"backgroundColor" :"blue"}""")
    st_mui_dialog(..., styling_dialog_content_text = """{"backgroundColor" :"blue"}""")

##### Event Handlers

It is possible to execute JavaScript commands on Open, Close, Agree and Abort. 

    st_mui_dialog(..., on_open = """console.log("Open")""")
    st_mui_dialog(..., on_close = """console.log("Close")""")
    st_mui_dialog(..., on_agree = """console.log("Agree")""")
    st_mui_dialog(..., on_abort = """console.log("Abort")""")
nonebot-plugin-face2cartoonpic 0.3.2
基于 腾讯云合成图的 以图绘图 NoneBot2插件
Requires Python: >=3.8
Keywords: pip,nonebot2,nonebot,nonebot_plugin

<div align="center">
  
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>


# nonebot_plugin_face2cartoonpic
  
_✨基于腾讯云合成图的以图绘图的Nonebot插件✨_



 
---
  
<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/ANGJustinl/nonebot_plugin_face2cartoonpic" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot_plugin_face2cartoonpic">
    <img src="https://img.shields.io/pypi/v/nonebot_plugin_face2cartoonpic.svg" alt="pypi">
</a>
<a href="https://www.python.org">
    <img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">
</a>

---  
 </div> 
  
## 💿 安装

### 1. nb-cli安装（推荐）
bot根目录下打开命令行，执行nb命令安装插件，插件配置会自动添加至配置文件  
```
nb plugin install nonebot_plugin_face2cartoonpic
```

### 2. pip安装
```
pip install nonebot_plugin_face2cartoonpic --upgrade
```  
打开 nonebot2 项目的 ```bot.py``` 文件, 在其中写入  
```nonebot.load_plugin('nonebot_plugin_abstain_diary')```  
  
或在bot路径```pyproject.toml```的```[tool.nonebot]```的```plugins```中添加```nonebot_plugin_face2cartoonpic```即可  
pyproject.toml配置例如：  
``` 
[tool.nonebot]
plugin_dirs = ["src/plugins"]
plugins = ["nonebot_plugin_face2cartoonpic","xxxxx"]
```
  
## 📖 配置
--- 
  
官方指南 https://cloud.tencent.com/document/product/1202/41796  
  
先到腾讯云这里获取服务资源包 https://console.cloud.tencent.com/ft/resource
  
再去 https://console.cloud.tencent.com/cam/capi 的api密钥管理获取api密钥
  
---
  
bot根目录下.env文件
  
```  
  
Secret_Id = ""这两个写从腾讯云获取的api密钥
  
Secret_Key = ""
  
FaceCartoonPic_cd_time = 60{int}默认60  
  
```  
## 🎉 使用
### 指令表
| 指令 | 需要@ | 范围 | 说明 |
|:-----:|:----:|:----:|:----:|
| 人物变换 + 图片 | 否 | 群聊/私聊 | 对发送的图片启用模型, 支持回复图片 |

使用示例：

    /人物变换 <图像>

**注意**

默认情况下, 您应该在指令前加上命令前缀, 通常是 /
Laggrif-lol-discord-bot 0.0.4b0
A perfect discord bot
Requires Python: >=3.7

# Discord-Bot
A discord bot including lol stats, chatting, music and more

## How to use?
### Create missing files and directories

Create a file named `Tokens.json` in `./res/settings`. This file allows to run different bots (Tokens) without having to change the code.
Content should be of the type 
<pre><code>{
  "Bot" : {
    "name of bot 1" : ["Token 1", "Welcome channel id"],
    "name of bot 2" : ["Token 2", "Welcome channel id"],
    ...more bots...
  },
  "LoL" : "Riot API Key"
}
</code></pre>
To change the default bot, you must edit line 147 of `Discord_Bot.py`.
Finally, you must replace the path in `Assets.py` for the correct path.


### Install required modules

Use `sudo pip3 install` or `sudo python3 -m pip install` to install the following modules if you are running a raspberry pi with oled 128x64 display. Otherwise, omit `sudo`:
* [py-cord](https://docs.pycord.dev/en/stable/)
* [youtube_dl](https://github.com/ytdl-org/youtube-dl)
* [psutil](https://github.com/giampaolo/psutil)
* [PyNaCl](https://github.com/pyca/pynacl/)
* [adafruit-circuitpython-ssd1306](https://github.com/adafruit/Adafruit_CircuitPython_SSD1306)
* [pillow](https://python-pillow.org/)
* [requests](https://requests.readthedocs.io/en/latest/)

In addition, you must install [ffmpeg](https://ffmpeg.org/) to be able to play music.

### Running the bot
In a terminal, run `python3 <Path-to-project>/Discord_Bot.py` to run the default bot. To select another one, simply add its name at the end. For example `python3 <Path-to-project>/Discord_Bot.py Test`.
If you want to use the 128x64 display, you must add `sudo` before.


This discord bot was created under Riot Games' "Legal Jibber Jabber" policy using assets owned by Riot Games.  Riot Games does not endorse or sponsor this project.
klldv5 1.0.9
klldv5

# klldPinger
Use This To Upload Files To klldv5

[![Downloads](https://pepy.tech/badge/klldv5)](https://pepy.tech/project/klldv5)
[![Downloads](https://pepy.tech/badge/klldv5/week)](https://pepy.tech/project/klldv5)
[![Downloads](https://pepy.tech/badge/klldv5/month)](https://pepy.tech/project/klldv5)
[![Requires: Python 3.x](https://img.shields.io/pypi/pyversions/klldPinger.svg)](https://pypi.org/project/klldv5/)
[![Version: 1.0.4](https://img.shields.io/pypi/v/klldv5.svg)](https://pypi.org/project/klldv5/)

### Setup:
``pip install klldv5``

``pip3 install klldv5``

[Examples](https://github.com/klldme/klldv5/tree/main/Examples "github.com/klldme/klldv5/tree/main/Examples")