Skip to main content

像操作API一样设置定时任务&计划任务

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-api-scheduler

✨ 像操作API一样设置定时任务&计划任务✨

license pypi python

📖 介绍

通过NoneBot的FastAPI服务器来提供API,使得您能够对定时任务&计划任务进行增删改查。同时也提供了一个简易的WebUI

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行
首先安装前置依赖nonebot_plugin_apscheduler
nb plugin install nonebot_plugin_apscheduler
接下来安装本插件
nb plugin install nonebot_plugin_api-scheduler
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip 首先安装前置依赖nonebot_plugin_apscheduler
pip install nonebot_plugin_apscheduler
接下来安装本插件
pip install nonebot_plugin_api-scheduler

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
fastapi_docs_url = "/doc" 设置fastapi文档地址

使用方法

API文档
WebUI文档

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

nonebot_plugin_api_scheduler-1.1.1.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_api_scheduler-1.1.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_api_scheduler-1.1.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_api_scheduler-1.1.1.tar.gz
Algorithm Hash digest
SHA256 a6bc48658eae5401d2c0b3fa79b5f111b964e5940660e6caed5ef57f4ffcb3e2
MD5 bae436c8fb09f1dd32cbd77ba567f6a7
BLAKE2b-256 ee7e99950ba52ba58f0e586984b403122667b34dacadbcb75d8475aa4decdeca

See more details on using hashes here.

File details

Details for the file nonebot_plugin_api_scheduler-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_api_scheduler-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b6ac8fe0431f2ed9e95e5a500e7b0d794db9c8d7b5f666b47f57483246be40b
MD5 f2ee3a28c59fa9b71aeb21c68360ad67
BLAKE2b-256 3b18e7d83e9a1cdc6b420b1302fc2a5fb624018b2d256f7ac0a8edac7a151f19

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