nonebot-plugin-apod


Namenonebot-plugin-apod JSON
Version 0.0.6 PyPI version JSON
download
home_pagehttps://github.com/lyqgzbl/nonebot-plugin-apod
Summary定时发送 NASA 每日提供的天文图片
upload_time2025-01-09 05:24:36
maintainerNone
docs_urlNone
authorlyqgzbl
requires_python<4.0,>=3.8
licenseMIT
keywords nonebot2 nasa
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable MD033 MD036 MD041 -->

<div align="center">

<a href="https://v2.nonebot.dev/store">
  <img src="https://raw.githubusercontent.com/A-kirami/nonebot-plugin-template/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo">
</a>

<p>
  <img src="https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/plugin.svg" alt="NoneBotPluginText">
</p>

# nonebot-plugin-apod

_✨ 每日天文一图 ✨_

![License](https://img.shields.io/pypi/l/nonebot-plugin-apod)
![PyPI](https://img.shields.io/pypi/v/nonebot-plugin-apod.svg)
![Python](https://img.shields.io/badge/python-3.8+-blue.svg)  
[![NoneBot Registry](https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin%2Fnonebot-plugin-apod)](https://registry.nonebot.dev/plugin/nonebot-plugin-apod:nonebot_plugin_apod)
[![Supported Adapters](https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin-adapters%2Fnonebot-plugin-send-anything-anywhere)](https://registry.nonebot.dev/plugin/nonebot-plugin-send-anything-anywhere:nonebot_plugin_saa)

</div>

## 安装
使用nb-cli [推荐]
```shell
nb plugin install nonebot-plugin-apod
```
使用pip
```shell
pip install nonebot-plugin-apod
```

## 使用
命令需要加 [NoneBot 命令前缀](https://nonebot.dev/docs/appendices/config#command-start-和-command-separator) (默认为`/`)  
命令需要用户为 [SuperUsers](https://nonebot.dev/docs/appendices/config#superusers)  
使用命令`APOD`/`apod`触发插件  
命令选项`状态` 查询定时任务状态  
命令选项`关闭` 关闭定时任务  
命令选项`开启` 开启定时任务  

## 配置项

配置方式:直接在 NoneBot 全局配置文件中添加以下配置项即可

### apod_api_key [必填]

- 类型:`str`
- 默认值:`None`
- 说明:用于获取每日天文一图的 NASA API Key

### apod_default_send_time [选填]

- 类型:`str`
- 默认值:`13:00`
- 说明:每日天文一图的默认发送时间
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lyqgzbl/nonebot-plugin-apod",
    "name": "nonebot-plugin-apod",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": "nonebot2, NASA",
    "author": "lyqgzbl",
    "author_email": "admin@lyqgzbl.com",
    "download_url": "https://files.pythonhosted.org/packages/1b/7a/898fb773e9b2fbf8e7f6dfa2ac63a94ab418faf105c10ac0bf43b5971e43/nonebot_plugin_apod-0.0.6.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable MD033 MD036 MD041 -->\n\n<div align=\"center\">\n\n<a href=\"https://v2.nonebot.dev/store\">\n  <img src=\"https://raw.githubusercontent.com/A-kirami/nonebot-plugin-template/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\">\n</a>\n\n<p>\n  <img src=\"https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/plugin.svg\" alt=\"NoneBotPluginText\">\n</p>\n\n# nonebot-plugin-apod\n\n_\u2728 \u6bcf\u65e5\u5929\u6587\u4e00\u56fe \u2728_\n\n![License](https://img.shields.io/pypi/l/nonebot-plugin-apod)\n![PyPI](https://img.shields.io/pypi/v/nonebot-plugin-apod.svg)\n![Python](https://img.shields.io/badge/python-3.8+-blue.svg)  \n[![NoneBot Registry](https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin%2Fnonebot-plugin-apod)](https://registry.nonebot.dev/plugin/nonebot-plugin-apod:nonebot_plugin_apod)\n[![Supported Adapters](https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin-adapters%2Fnonebot-plugin-send-anything-anywhere)](https://registry.nonebot.dev/plugin/nonebot-plugin-send-anything-anywhere:nonebot_plugin_saa)\n\n</div>\n\n## \u5b89\u88c5\n\u4f7f\u7528nb-cli [\u63a8\u8350]\n```shell\nnb plugin install nonebot-plugin-apod\n```\n\u4f7f\u7528pip\n```shell\npip install nonebot-plugin-apod\n```\n\n## \u4f7f\u7528\n\u547d\u4ee4\u9700\u8981\u52a0 [NoneBot \u547d\u4ee4\u524d\u7f00](https://nonebot.dev/docs/appendices/config#command-start-\u548c-command-separator) (\u9ed8\u8ba4\u4e3a`/`)  \n\u547d\u4ee4\u9700\u8981\u7528\u6237\u4e3a [SuperUsers](https://nonebot.dev/docs/appendices/config#superusers)  \n\u4f7f\u7528\u547d\u4ee4`APOD`/`apod`\u89e6\u53d1\u63d2\u4ef6  \n\u547d\u4ee4\u9009\u9879`\u72b6\u6001` \u67e5\u8be2\u5b9a\u65f6\u4efb\u52a1\u72b6\u6001  \n\u547d\u4ee4\u9009\u9879`\u5173\u95ed` \u5173\u95ed\u5b9a\u65f6\u4efb\u52a1  \n\u547d\u4ee4\u9009\u9879`\u5f00\u542f` \u5f00\u542f\u5b9a\u65f6\u4efb\u52a1  \n\n## \u914d\u7f6e\u9879\n\n\u914d\u7f6e\u65b9\u5f0f\uff1a\u76f4\u63a5\u5728 NoneBot \u5168\u5c40\u914d\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u914d\u7f6e\u9879\u5373\u53ef\n\n### apod_api_key [\u5fc5\u586b]\n\n- \u7c7b\u578b\uff1a`str`\n- \u9ed8\u8ba4\u503c\uff1a`None`\n- \u8bf4\u660e\uff1a\u7528\u4e8e\u83b7\u53d6\u6bcf\u65e5\u5929\u6587\u4e00\u56fe\u7684 NASA API Key\n\n### apod_default_send_time [\u9009\u586b]\n\n- \u7c7b\u578b\uff1a`str`\n- \u9ed8\u8ba4\u503c\uff1a`13:00`\n- \u8bf4\u660e\uff1a\u6bcf\u65e5\u5929\u6587\u4e00\u56fe\u7684\u9ed8\u8ba4\u53d1\u9001\u65f6\u95f4",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\u5b9a\u65f6\u53d1\u9001 NASA \u6bcf\u65e5\u63d0\u4f9b\u7684\u5929\u6587\u56fe\u7247",
    "version": "0.0.6",
    "project_urls": {
        "Documentation": "https://github.com/lyqgzbl/nonebot-plugin-apod#readme",
        "Homepage": "https://github.com/lyqgzbl/nonebot-plugin-apod",
        "Repository": "https://github.com/lyqgzbl/nonebot-plugin-apod"
    },
    "split_keywords": [
        "nonebot2",
        " nasa"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83ec94457a4dfedb2ceff32907af5021699f7d811a25fa27279451fbae70b131",
                "md5": "526072496c64789ee2e7f129351a977b",
                "sha256": "163cd1914ed992d4c56c7a761104c43055e5701c8650512ea5038e100ecd5882"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_apod-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "526072496c64789ee2e7f129351a977b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 7265,
            "upload_time": "2025-01-09T05:24:33",
            "upload_time_iso_8601": "2025-01-09T05:24:33.999072Z",
            "url": "https://files.pythonhosted.org/packages/83/ec/94457a4dfedb2ceff32907af5021699f7d811a25fa27279451fbae70b131/nonebot_plugin_apod-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b7a898fb773e9b2fbf8e7f6dfa2ac63a94ab418faf105c10ac0bf43b5971e43",
                "md5": "509a1ceab6c08bb4c6c7864c66ffa84e",
                "sha256": "c966ef5ee2e892632c5596d271c2d21eae7f7e10b50fa74e14a6866877c6aab3"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_apod-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "509a1ceab6c08bb4c6c7864c66ffa84e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 5703,
            "upload_time": "2025-01-09T05:24:36",
            "upload_time_iso_8601": "2025-01-09T05:24:36.477608Z",
            "url": "https://files.pythonhosted.org/packages/1b/7a/898fb773e9b2fbf8e7f6dfa2ac63a94ab418faf105c10ac0bf43b5971e43/nonebot_plugin_apod-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-09 05:24:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lyqgzbl",
    "github_project": "nonebot-plugin-apod",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "nonebot-plugin-apod"
}
        
Elapsed time: 0.49825s