📖 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
Metadata
Release files for nonebot-plugin-paper 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_paper-0.1.3.tar.gz | 43.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_paper-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.5 kB
Release files / nonebot_plugin_paper-0.1.3.tar.gz
| Download URL | nonebot_plugin_paper-0.1.3.tar.gz |
|---|---|
| Size | 43.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08ca971653d5879bc02c1ceacadcd32095f7df342d41aa80da5b4acaa33f8382
|
|
BLAKE2b-256 checksum How to use checksums |
e9961c4eee15bc2d7b97a9e8de2de27b75313a39f8f8d4ebd8d6e1093b1cab63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.14
|
Release files / nonebot_plugin_paper-0.1.3-py3-none-any.whl
| Download URL | nonebot_plugin_paper-0.1.3-py3-none-any.whl |
|---|---|
| Size | 41.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e06c48043063ad0500904a0f94c42e46c5068a624ef12564d2e6e3059161db35
|
|
BLAKE2b-256 checksum How to use checksums |
59fa626ed3cf9048879fec08c6a4ce71fdd8b44476f0f0da62ab0c7fec8d7566
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.14
|