Skip to main content

build a world of open science.

Project description

NoneBot-Plugin-Paper

✨ NoneBot arXiv Paper Search Plugin ✨

pypi python pdm-managed alc-resolved
NoneBot Registry Supported Adapters

📖 Introduction

NoneBot arXiv Paper search Plugin for arXiv APIs

Wiki: 👉 Portal

[!IMPORTANT] Star this project to receive all release notifications from GitHub without delay! ⭐️

starify

💿 Installation

Choose one of the following methods

[!TIP] Multiple rendering methods are provided for paper information. By default, plaintext is used, which means no rendering, text-only output. In this case, the plugin requires no additional dependencies. Optional dependencies include playwright, skia, and pillow. Use nonebot-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 command
nb 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_START and 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

Contributors

Thanks to these developers who contributed to this project:

contributors

📄 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

nonebot_plugin_paper-0.1.1.tar.gz (42.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_paper-0.1.1-py3-none-any.whl (41.2 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_paper-0.1.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_paper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4ef203f05613b7ad57bc3781fdf3e0e519a172b144e39aead2520ee009d3d65e
MD5 cac2e4250690ce6c788c7317a4ee2414
BLAKE2b-256 c94dfc9efcae2d0fb6324ffc0acc3bbad793513de6f30de5cafb0fa64222e50f

See more details on using hashes here.

File details

Details for the file nonebot_plugin_paper-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_paper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11ecb39f6915320a2a7939d353fac7555c4b121f4bec509a7e1006ff3d52154b
MD5 f97a4b53b69c92155c093b26bc5e0bca
BLAKE2b-256 444c519e717b2a82ea3b12ccab3f1d3fb5dd9f821153de620232bd65ca93ba29

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page