semvec/pypi-packages huggingface dataset:
nonebot-plugin-mcversion 0.3.7
NoneBot2 plugin for CheckMCupdate
License: MIT
Requires Python: >=3.9

# README
<!--
<div align="center">
  <img src="your_project_logo.png" alt="Logo" width="200">
</div>
-->
## 描述

该项目是一个使用 Python 编写的简单程序，用于获取 Minecraft 最新版本信息并定时检查更新，并在指定的群组内发送消息通知。

## 功能特点

- 获取最新的 Minecraft 版本信息
- 定时检查 Minecraft 是否有新版本
- 在指定群组内发送更新通知消息

## 安装

<details>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-mcversion

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

    pip install nonebot-plugin-mcversion
</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-mcversion
</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-mcversion
</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-mcversion
</details>

打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入

    plugins = ["nonebot-plugin-mcversion"]

</details>

## 使用

1. 使用 `mcver` , `mcversion` ,`MC版本` 来获取当前最新MC版本
2. 程序会每分钟自动检查 Minecraft 是否有新版本，若有则会在指定的群组内发送消息。

## 配置

在配置文件中必须进行以下设置：

- `mcver_group_id`：指定检查 Minecraft 更新后发送消息的群组 ID。
- `mcver_proxy`：指定使用的代理地址

例如：
```
mcver_group_id = [123456, 789012]
mcver_proxy = "http://127.0.0.1:7890"
```

## 鸣谢

- [nonebot-plugin-apscheduler](https://github.com/nonebot/plugin-apscheduler) - NoneBot 的定时任务插件

## 反馈

- 问题跟踪：[GitHub Issues](https://github.com/CN171-1/nonebot-plugin-mcversion/issues)
CTK-Color 0.0.2
A customizable color tool for CTkinter Textboxes
License: MIT
Requires Python: >=3.7
Keywords: customtkinter ctkinter tkinter gui color textbox widget

# CTK_Color

## Introduction
The library that will be used with CustomTkinter for coloring/highlighting particular text/line in textbox. It can be used for various other options and for creating inovative projects using this library

## Syntax for object  creation
<p align="center"><pre><code>CTK_Color(text_box name,text,tag,Color to be applied)</code></pre></p>

## Use-Case
This code contains <code>demo.py</code> file in which the code 

### For Highlighting particular sentence
It provide color to the text in textbox untill you press enter or specify the end of the sentence in the code 
#### Code
<pre lang="sh">
from CTK_Color import CTK_Color
import customtkinter as ctk

win=ctk.CTk()
text=ctk.CTkTextbox(win)
text.pack()
CTK_Color(text,"box","big","red").for_line()
win.mainloop()
</pre>

#### Pre-View 
<p align="center">
<img src="https://github.com/user-attachments/assets/371899cf-61e5-414b-81ee-1f68d26afd60" width=750/>
</p>

### For Highlighting particular words in textbox

#### Code
<pre lang="sh">
from CTK_Color import CTK_Color
import customtkinter as ctk

win=ctk.CTk()
text=ctk.CTkTextbox(win)
text.pack()
CTK_Color(text,"for","bal","red").for_word()
CTK_Color(text,"print","edit","orange").for_word()
CTK_Color(text,"while","gang","blue").for_word()
CTK_Color(text,"boxer","baler","green").for_word()
win.mainloop()
</pre>

#### Pre-View
<p align="center">
<img src="https://github.com/user-attachments/assets/c0b27e21-c605-45c5-82fb-9a67ca66ca57" width=750/>
</p>