Skip to main content

Plugin of Nonebot2. Subscribe and push Arxiv RSS daliy.

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-arxivRSS

✨ 推送arxiv上每日最新论文的插件 ✨

license pypi python

📖 介绍

这个插件调用arxiv的RSS订阅源,用于每天定时推送arxiv当天的新论文。目前仅支持私聊。

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-arxivRSS
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-arxivRSS
pdm
pdm add nonebot-plugin-arxivRSS
poetry
poetry add nonebot-plugin-arxivRSS
conda
conda install nonebot-plugin-arxivRSS

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

plugins = ["nonebot_plugin_arxivRSS"]

🎉 使用

⚠️目前仅支持私聊⚠️

首先使用arxiv set <hh> <mm>设定每日推送时间。

然后使用arxiv add <category>添加您关注的领域。<category>是arxiv官方对论文领域的分类,例如cs代表Computer Science,cs.CL代表Computation and Language。<category>可以是单独的领域,也可以是多个领域,领域间使用空格分开。此处可以查看所有领域。

此时您已经完成了基本的设置,您将会在每日<hh>:<mm>收到来自arxivRSS的当日推送。

您还可以通过arxiv push [category]指令立刻获取arxivRSS的当日推送。如果不提供[category],则推送您订阅中的所有领域。

所有指令

arxiv 显示所有指令

arxiv add <category> 添加<category>至您的订阅。

arxiv del <category> 从您的订阅中删除<category>

arxiv set <hh> <mm> 设定您的推送时间为hh:mm

arxiv cancel 取消订阅。

arxiv show 查看您的订阅类别和推送时间。

arxiv list 查看所有可用的领域。

arxiv push [category] 立即获取[category]中所有类别的当日推送。如果[category]没有指定,那么会尝试推送您订阅中的所有领域。

效果图

preview

preview

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_arxivRSS-0.1.3.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_arxivRSS-0.1.3-py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 3

Supported by

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