Skip to main content

axtbot-plugin-jrrp

✨ 官方插件包之一,可以通过‘jrrp’获取今日人品值 ✨

pypi python

介绍

本插件为官方插件包之一,通过'/jrrp' 获取今日人品!

安装方法

使用包管理器安装 在项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install axtbot-plugin-jrrp
pdm
pdm add axtbot-plugin-jrrp
poetry
poetry add axtbot-plugin-jrrp
使用源码安装 在项目的插件目录下,打开命令行,输入以下内容 ```bash git clone https://github.com/AxT-Team/axtbot-plugin-jrrp ```

把src中的文件夹拷贝至插件目录下

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

plugins = ["axtbot_plugin_jrrp"]

配置

本插件需要在.env中补充以下配置:

JRRP_IMAGE_URL="https://example.com/axtbot/" # 图片地址 接下来0-100的 JPG 图片会在这个目录下进行对应
JRRP_SIZE_0="#300px #100px" # 如下是 0 1-20 21-40 41-60 61-80 81-99 100 的不同JPG图片的宽高 建议设置
JRRP_SIZE_1_20="#87px #100px"
JRRP_SIZE_21_40="#125px #100px"
JRRP_SIZE_41_60="#120px #100px"
JRRP_SIZE_61_80="#100px #100px"
JRRP_SIZE_81_99="#115px #100px"
JRRP_SIZE_100="#264px #100px"
JRRP_DEFAULT_DATABASE="./data/jrrp.db" # 存储普通今日人品的数据库文件

JRRP_CUSTOM=false # 是否启用自定义模式 自定义模式下可设定下方的所有的CUS选项
JRRP_CUSJRRP=100  # 自定义今日人品数额
JRRP_CUSTOM1="您今日的人品值是:2025!!!"  # 自定义内容第一行
JRRP_CUSTOM2="AxT 团队在此祝福大家新年快乐~" # 自定义内容第二行
JRRP_CUSTOM3="在这喜庆的日子,祝您在新的一年里:万事如意,心想事成,顺风顺水顺财神!" # 第三行
JRRP_IMG="https://example.com/axtbot/100.jpg" # 自定义图片 不受上面的URL限制
JRRP_CUS_SIZE="#264px #100px" # 自定义图片宽高
JRRP_CUSTOM_DATABASE="./data/customjrrp.db" # 存储自定义今日人品的数据库文件 不建议使用同一个文件

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axtbot_plugin_jrrp-1.0.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axtbot_plugin_jrrp-1.0.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file axtbot_plugin_jrrp-1.0.0.tar.gz.

File metadata

  • Download URL: axtbot_plugin_jrrp-1.0.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.28.2 CPython/3.12.3 Linux/6.17.0-1022-azure

File hashes

Hashes for axtbot_plugin_jrrp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 946d2aedb5224475dec9f31672ab5b78f0e3ab3ee35f17fba452afe053e6aac6
MD5 832f602f6803fe3882e4e30281711d23
BLAKE2b-256 fd3970bb18d3ee62256a6f440d79200e0291bcda9e6015132916dffedb5e2ae9

See more details on using hashes here.

File details

Details for the file axtbot_plugin_jrrp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: axtbot_plugin_jrrp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.28.2 CPython/3.12.3 Linux/6.17.0-1022-azure

File hashes

Hashes for axtbot_plugin_jrrp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eaf23925a48defee4a93f2d233865e1cf9660e3f15e23e8224d9c4bb46c5bc80
MD5 1d31308bcb4e0777f4753d77d94750fb
BLAKE2b-256 1935381f35b4a3f09c854018983f8298380e1524d3b0d4942b44db410ac7d711

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page