Skip to main content

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

cameo_botrun_prompt_tools-1.0.2.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file cameo_botrun_prompt_tools-1.0.2.tar.gz.

File metadata

File hashes

Hashes for cameo_botrun_prompt_tools-1.0.2.tar.gz
Algorithm Hash digest
SHA256 851c6f143463bde1dc424989209347e2bc09477bec28d7043acc40b578e40312
MD5 e1fdd64a187f5c2be41af128ab124e7e
BLAKE2b-256 55bf096882467f1d29bff3010682ebc5158a348972edb5db10d9b0ba99b78901

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page