build a world of open science.
Project description
📖 Introduction
NoneBot arXiv Paper search Plugin for arXiv APIs
Wiki: 👉 Portal
[!IMPORTANT] Star this project to receive all release notifications from GitHub without delay! ⭐️
💿 Installation
Choose one of the following methods
[!TIP] Multiple rendering methods are provided for paper information. By default,
plaintextis used, which means no rendering, text-only output. In this case, the plugin requires no additional dependencies. Optional dependencies includeplaywright,skia, andpillow. Usenonebot-plugin-paper[skia]during installation to include required dependencies.
[Recommended] Install using nb-cli
Open command line in the Bot root directory and enter the following commandnb plugin install nonebot-plugin-paper
Install using package manager
pip install nonebot-plugin-paper
# or, use poetry
poetry add nonebot-plugin-paper
# or, use pdm
pdm add nonebot-plugin-paper
Open the configuration file in your NoneBot project root directory and append to the
[plugin] section
plugins = ["nonebot_plugin_paper"]
⚙️ Configuration
For ArxivConfig settings, please refer to:👉 ArxivConfig Configuration
| Config Item | Required | Default | Description |
|---|---|---|---|
| arxiv_paper_render | No | plaintext | Paper render type |
| arxiv_config | No | ArxivConfig() | Can be passed via nonebot.init(), config model will automatically read dotenv settings |
🎉 Usage
[!note] Please check your
COMMAND_STARTand the above configuration items. Default prefix is/
Command Tree
paper --search | -s [keyword]
--sort ['relevance', 'lastUpdatedDate', 'submittedDate']
--order ['ascending', 'descending']
--start [start]
-id [paper_id]
Search by Keyword
/paper --search quantum computing
Search by Paper ID
/paper -id 2409.12922
💖 Acknowledgments
Polyisoprene: Provided MVP implementation of skia rendering componentHibiKier: Implemented command tree building for the pluginKomoriDev/Starify:Provided cool badges
Contributors
Thanks to these developers who contributed to this project:
📄 License
This project is open-sourced under the GPL-3.0 license
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_paper-0.1.2.tar.gz.
File metadata
- Download URL: nonebot_plugin_paper-0.1.2.tar.gz
- Upload date:
- Size: 42.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f1700012920e7444a4a7536020ab06ec394246df961fb76cd2fb048b7db993e
|
|
| MD5 |
7eb8db6a422861c1a001d6ebf2a08f4b
|
|
| BLAKE2b-256 |
a2a7b8e3607debf33c717542055bb435cd40aad796c0e142dbb330dbe082c9ed
|
File details
Details for the file nonebot_plugin_paper-0.1.2-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_paper-0.1.2-py3-none-any.whl
- Upload date:
- Size: 41.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5668c28bd0e414f4613199a96a1481c8401964fc7c430da070b10a9770eeb7de
|
|
| MD5 |
28200822cd11409cbf96135a12c57586
|
|
| BLAKE2b-256 |
fd94abb289312a44c8c1bd291b8a402ff630d6c181953f30995e53544f9131fc
|