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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af626a0202ce56afa3b9eb01a4e1ba4fb3b9d68e2fd5c0854506ce3d19d82c66 |
|
MD5 | 5cba9443a9132dc507d42ff5e4055a65 |
|
BLAKE2b-256 | 6d1243326cadeb9af5beaad7187e80745b8c99567b642190755cb2c5b620b4ff |
Hashes for nonebot_plugin_arxivRSS-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59158f79bec3ddce36d1176e4f51e5f1581f448f1a58f64e0746657a658899ff |
|
MD5 | 0ed07793d4d8459d25ccccde0ddfc881 |
|
BLAKE2b-256 | 065d77fd046652752f18f590f9cd6d69de99f997a03401c49d88e5580e73eef1 |