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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 567b3839b69a1f6f135171ff9f69fa7140652bc0856703e35d0572bb84d7217b |
|
MD5 | d0a96c26b81529ab93af3046c25439e4 |
|
BLAKE2b-256 | a8dba3c692c7ed4f1268902de3f721c9ec879b2cddca1e4db9c02e9dd1dce686 |
Hashes for nonebot_plugin_arxivRSS-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af29d24b5b7b7824099650e99108b67d9f41047e2fb64a9f6428f25daaa0b21f |
|
MD5 | bd0dacffc628529db4da7a0a0392dbd2 |
|
BLAKE2b-256 | 4b4a7670ab74271db2d96daf22e6204fa4b7bd5870cee78a2e3647e69762f4bc |