semvec/pypi-packages huggingface dataset:
nonebot-plugin-repesix 0.0.6
复读6
License: MIT
Requires Python: <4.0,>=3.9
Keywords: nonebot, nonebot2, nonebot_plugin, repeat_six

<div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://raw.githubusercontent.com/tkgs0/nbpt/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://raw.githubusercontent.com/tkgs0/nbpt/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-repesix

_✨ 复读6 ✨_

<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/tkgs0/nonebot-plugin-repesix.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-repesix">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-repesix.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>
<a href="https://nonebot.dev">
    <img src="https://img.shields.io/badge/nonebot-2.3.1+-red.svg" alt="nonebot">
</a>

</div>

## 📖 介绍

当有人发送 `6` 或 `主|蚌|蜯|草|艹|乐|樂|寄|典|孝|急|麻` 时概率触发复读

## 💿 安装

**nb-cli安装, 包管理器安装  二选一**

<details>
<summary>使用 nb-cli 安装</summary>

在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-repesix

</details>

<details>
<summary>使用包管理器安装</summary>

在 nonebot2 项目的插件目录下, 打开命令行,

**根据你使用的包管理器, 输入相应的安装命令**

<details>
<summary>pip</summary>

    pip install nonebot-plugin-repesix

</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-repesix

</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-repesix

</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-repesix

</details>

打开 bot项目下的 `pyproject.toml` 文件,

在其 `plugins` 里加入 `nonebot_plugin_repesix`

    plugins = ["nonebot_plugin_repesix"]

</details>
</details>

## 🎉 使用

即插即用
toolify 0.2.0
A library that provide helper function and tools.
License: MIT
Requires Python: >=3.8
Keywords: tools, arabic, bidi, plotting, logging, cuda

# toolify

A Python library that provides helper functions and tools for developers.

## Installation

Install `toolify` from PyPI:

```bash
pip install toolify
```

### Requirements
- Python >= 3.8
- Dependencies:
  - `python-bidi==0.6.6`
  - `arabic_reshaper==3.0.0`



## Usage

Import and use the functions from the `toolify.tools` module:

```python
from toolify.tools import pct, pat, print_package_info

# Print colored text
pct("Hello, World!", color="green", emoji="star")

# Print Arabic text
pat("مرحبا بالعالم", color="blue", emoji="heart")

# Print package information
print_package_info()
```

## Functions

| Function | Description |
|----------|-------------|
| `pct` | Prints text in a specified color with an optional emoji. |
| `pat` | Prints Arabic text with proper reshaping and bidirectional display. |
| `setup_logger` | Configures a logger for logging messages to a file. |
| `save_text_list` | Saves a list of text arrays to a file. |
| `save_text` | Saves a single text string to a file. |
| `line_plotter` | Saves a line plot for multiple data lists. |
| `strip_tashkeel` | Removes Arabic diacritics and specific characters from text. |
| `get_available_gpus` | Prints information about available CUDA GPUs. |
| `print_package_info` | Prints information about the package and its functions. |

## Example: Plotting Data

```python
from toolify.tools import line_plotter

data = [[1, 2, 3], [4, 5, 6]]
line_plotter(
    data_list=data,
    save_name="plot.png",
    legend_list=["Line 1", "Line 2"],
    x_label="X Axis",
    y_label="Y Axis",
    title="Sample Plot"
)
```
<!-- 
## Contributing

Contributions are welcome! Please open an issue or submit a pull request on [GitHub](https://github.com/amrabdelsamea/toolify). -->

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.