Skip to main content

build a world of open science.

Project description

NoneBot-Plugin-Paper

✨ NoneBot arXiv Paper Search Plugin ✨

pypi python uv-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.2.tar.gz (42.8 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.2-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_paper-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4f1700012920e7444a4a7536020ab06ec394246df961fb76cd2fb048b7db993e
MD5 7eb8db6a422861c1a001d6ebf2a08f4b
BLAKE2b-256 a2a7b8e3607debf33c717542055bb435cd40aad796c0e142dbb330dbe082c9ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_paper-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5668c28bd0e414f4613199a96a1481c8401964fc7c430da070b10a9770eeb7de
MD5 28200822cd11409cbf96135a12c57586
BLAKE2b-256 fd94abb289312a44c8c1bd291b8a402ff630d6c181953f30995e53544f9131fc

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