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.0.0.tar.gz (15.7 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.0.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_api_scheduler-1.0.0.tar.gz
Algorithm Hash digest
SHA256 55aeb7c4c4b06175573e6586df30d11af4cd00591099484574d69b3866ca0203
MD5 99f1e91e1af0f7c15ec3539ab223293f
BLAKE2b-256 9adc4015765f50df0263d7699e667a2755390a595b74ff27f6c1f8bbb3d874f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_api_scheduler-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06c7296c0fe928150e39096c49cfaa281f86456630c4431e104ce5381efe41a8
MD5 4d3cef244b22114e514e3f311d222613
BLAKE2b-256 dcb848c086ba17007d1e40c23327622edb2f7ba18a2957012a8f367dad5cad97

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