Plugin of Nonebot2. Subscribe and push Arxiv RSS daliy.
Project description
📖 介绍
这个插件调用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]
没有指定,那么会尝试推送您订阅中的所有领域。
效果图
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nonebot_plugin_arxivRSS-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03cdb51cf51f8eec3f68582cc8f0a7f8550d05ae8ad2cf5f5d5fe6d089a42122 |
|
MD5 | 3983f12e3cf51259819ade04a15dd318 |
|
BLAKE2b-256 | 99dd62e6b38c02175be694b5dd0fdf0f3fd8337650195e061c0020e533252668 |
Hashes for nonebot_plugin_arxivRSS-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e69f39bdb077aa957c8e6d02c7c8b68b474e4226e25b9dd7419d25beebda9bb0 |
|
MD5 | 9c27c438aa36edb403bdaa22a2e3fc74 |
|
BLAKE2b-256 | b842d85b12f838b4a9ee7fa707ba9db60d87d8a8110287ca612f4c7df9929b5c |