nonebot_plugin_session_saa


Namenonebot_plugin_session_saa JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/noneplugin/nonebot-plugin-session-saa
Summarysession 插件 saa 扩展
upload_time2024-02-25 07:28:37
maintainer
docs_urlNone
authormeetwq
requires_python>=3.8,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## nonebot-plugin-session-saa

- 提供从 [session](https://github.com/noneplugin/nonebot-plugin-session) 获取 [saa](https://github.com/MountainDash/nonebot-plugin-send-anything-anywhere) 发送对象 [PlatformTarget](https://github.com/MountainDash/nonebot-plugin-send-anything-anywhere/blob/main/nonebot_plugin_saa/utils/platform_send_target.py) 的方法


### 安装

- 使用 nb-cli

```
nb plugin install nonebot_plugin_session_saa
```

- 使用 pip

```
pip install nonebot_plugin_session_saa
```

### 使用

```python
from nonebot import require

require("nonebot_plugin_session_saa")

from nonebot_plugin_session import EventSession
from nonebot_plugin_session_saa import get_saa_target

@matcher.handle()
async def handle(session: EventSession):
    target = get_saa_target(session)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/noneplugin/nonebot-plugin-session-saa",
    "name": "nonebot_plugin_session_saa",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "meetwq",
    "author_email": "meetwq@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/fc/48/8175b3c17ed399ef18ed6d7fada57aa6840c4e203a7a627bd087ca1b7757/nonebot_plugin_session_saa-0.2.0.tar.gz",
    "platform": null,
    "description": "## nonebot-plugin-session-saa\n\n- \u63d0\u4f9b\u4ece [session](https://github.com/noneplugin/nonebot-plugin-session) \u83b7\u53d6 [saa](https://github.com/MountainDash/nonebot-plugin-send-anything-anywhere) \u53d1\u9001\u5bf9\u8c61 [PlatformTarget](https://github.com/MountainDash/nonebot-plugin-send-anything-anywhere/blob/main/nonebot_plugin_saa/utils/platform_send_target.py) \u7684\u65b9\u6cd5\n\n\n### \u5b89\u88c5\n\n- \u4f7f\u7528 nb-cli\n\n```\nnb plugin install nonebot_plugin_session_saa\n```\n\n- \u4f7f\u7528 pip\n\n```\npip install nonebot_plugin_session_saa\n```\n\n### \u4f7f\u7528\n\n```python\nfrom nonebot import require\n\nrequire(\"nonebot_plugin_session_saa\")\n\nfrom nonebot_plugin_session import EventSession\nfrom nonebot_plugin_session_saa import get_saa_target\n\n@matcher.handle()\nasync def handle(session: EventSession):\n    target = get_saa_target(session)\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "session \u63d2\u4ef6 saa \u6269\u5c55",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/noneplugin/nonebot-plugin-session-saa",
        "Repository": "https://github.com/noneplugin/nonebot-plugin-session-saa"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fc1e1a0689f5ba6b0444b70c704f980f3b4a73747aff5570086a6f8805f16e04",
                "md5": "933a591844be17e686e0b18d31d3afed",
                "sha256": "a9617b15453f131c4fcd0484616f6456365d2ba1072cb0cf62d7133b175fd172"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_session_saa-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "933a591844be17e686e0b18d31d3afed",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 3542,
            "upload_time": "2024-02-25T07:28:35",
            "upload_time_iso_8601": "2024-02-25T07:28:35.671607Z",
            "url": "https://files.pythonhosted.org/packages/fc/1e/1a0689f5ba6b0444b70c704f980f3b4a73747aff5570086a6f8805f16e04/nonebot_plugin_session_saa-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fc488175b3c17ed399ef18ed6d7fada57aa6840c4e203a7a627bd087ca1b7757",
                "md5": "beb3da6f45f06cc39a484d6838ed5c99",
                "sha256": "e4ec3b67cffce5ea9202f483dda8db5ac7d740bec6f33a845bf02e58481811b2"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_session_saa-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "beb3da6f45f06cc39a484d6838ed5c99",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 2901,
            "upload_time": "2024-02-25T07:28:37",
            "upload_time_iso_8601": "2024-02-25T07:28:37.284424Z",
            "url": "https://files.pythonhosted.org/packages/fc/48/8175b3c17ed399ef18ed6d7fada57aa6840c4e203a7a627bd087ca1b7757/nonebot_plugin_session_saa-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-25 07:28:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "noneplugin",
    "github_project": "nonebot-plugin-session-saa",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot_plugin_session_saa"
}
        
Elapsed time: 0.18374s