cameo_botrun_prompt_tools
Project description
cameo_botrun_prompt_tools
這個套件提供了一系列工具,方便使用者產生與波特人相關的提示詞。
安裝
使用 pip 安裝套件:
pip install cameo_botrun_prompt_tools
使用範例
print_button() 和 print_link() 函數
print_button() 和 print_link() 函數可以用來生成含有@begin @end的按鈕和連結文字。
from cameo_botrun_prompt_tools import print_button, print_link
print_button("點擊我", "這是一個按鈕")
print_link("https://www.example.com", "訪問範例網站")
# 上面程式會輸出以下文字
# @begin button("點擊我") 這是一個按鈕 @end
# @begin link("https://www.example.com") 訪問範例網站 @end
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cameo_botrun_prompt_tools-1.0.2.tar.gz.
File metadata
- Download URL: cameo_botrun_prompt_tools-1.0.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
851c6f143463bde1dc424989209347e2bc09477bec28d7043acc40b578e40312
|
|
| MD5 |
e1fdd64a187f5c2be41af128ab124e7e
|
|
| BLAKE2b-256 |
55bf096882467f1d29bff3010682ebc5158a348972edb5db10d9b0ba99b78901
|