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.0.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.0-py3-none-any.whl (41.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_paper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 824a2f946978f6d695ab48a0af50e4968a17deba508c8c5d5001eff7af0fe902
MD5 905301dd8fa486453aa37c3143431dad
BLAKE2b-256 2cdba4ea886151b48f627c888fb03b5dec040a0ec8d7fe1f43603d18cefa9661

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_paper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 466ed8ba2ff7639e7dbe41bd6c71ce0dda04b3c7b2548c73e60d6ffd6e96ab75
MD5 2fb0a21dc5b58c382f496238c587c4d2
BLAKE2b-256 abca2a683f1b32444d0b815b29951d2ef08b22080c58a53318b8e6706a5bd505

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