bili-listener


Namebili-listener JSON
Version 1.1.8 PyPI version JSON
download
home_pageNone
SummaryPython获取bilibili直播弹幕的库, 使用WebSocket协议
upload_time2025-07-25 05:29:42
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License Copyright (c) 2018 xfgryujk Copyright (c) 2024 Shadow403 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords bilibili bilibili-live danmaku
VCS
bugtrack_url
requirements aiohttp Brotli yarl loguru
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # bili-listener

- [协议解释](https://open-live.bilibili.com/document/657d8e34-f926-a133-16c0-300c1afc6e6b)
- 原属于 [xfgryujk/blivedm](https://github.com/xfgryujk/blivedm)
- 基于本库开发的应用:[BiliListener](https://github.com/Shadow403/BiliListener)

### 使用说明

- 需要Python 3.10及以上版本
- 创建虚拟环境
- 安装依赖 `pdm install`
- web端例程在 [`sample.py`](./blivedm/test/example/sample.py),直播开放平台例程在[`open_live_sample.py`](./blivedm/test/example/open_live_sample.py)
- `cmd` 类型在 [`ws_json`](./blivedm/test/ws_json/) 文件夹下

### 打包
- 创建虚拟环境
- 安装依赖 `pdm install`
- 打包 `pdm build`

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "bili-listener",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "bilibili, bilibili-live, danmaku",
    "author": null,
    "author_email": "xfgryujk <xfgryujk@126.com>, Shadow403 <admin@shadow403.cn>",
    "download_url": "https://files.pythonhosted.org/packages/29/8f/947e3f33d935f62f904b7e1225c839c55033b7d5d295a479eb9f0640204c/bili_listener-1.1.8.tar.gz",
    "platform": null,
    "description": "# bili-listener\n\n- [\u534f\u8bae\u89e3\u91ca](https://open-live.bilibili.com/document/657d8e34-f926-a133-16c0-300c1afc6e6b)\n- \u539f\u5c5e\u4e8e [xfgryujk/blivedm](https://github.com/xfgryujk/blivedm)\n- \u57fa\u4e8e\u672c\u5e93\u5f00\u53d1\u7684\u5e94\u7528\uff1a[BiliListener](https://github.com/Shadow403/BiliListener)\n\n### \u4f7f\u7528\u8bf4\u660e\n\n- \u9700\u8981Python 3.10\u53ca\u4ee5\u4e0a\u7248\u672c\n- \u521b\u5efa\u865a\u62df\u73af\u5883\n- \u5b89\u88c5\u4f9d\u8d56 `pdm install`\n- web\u7aef\u4f8b\u7a0b\u5728 [`sample.py`](./blivedm/test/example/sample.py)\uff0c\u76f4\u64ad\u5f00\u653e\u5e73\u53f0\u4f8b\u7a0b\u5728[`open_live_sample.py`](./blivedm/test/example/open_live_sample.py)\n- `cmd` \u7c7b\u578b\u5728 [`ws_json`](./blivedm/test/ws_json/) \u6587\u4ef6\u5939\u4e0b\n\n### \u6253\u5305\n- \u521b\u5efa\u865a\u62df\u73af\u5883\n- \u5b89\u88c5\u4f9d\u8d56 `pdm install`\n- \u6253\u5305 `pdm build`\n",
    "bugtrack_url": null,
    "license": "MIT License                  Copyright (c) 2018 xfgryujk         Copyright (c) 2024 Shadow403                  Permission is hereby granted, free of charge, to any person obtaining a copy         of this software and associated documentation files (the \"Software\"), to deal         in the Software without restriction, including without limitation the rights         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell         copies of the Software, and to permit persons to whom the Software is         furnished to do so, subject to the following conditions:                  The above copyright notice and this permission notice shall be included in all         copies or substantial portions of the Software.                  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR         IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,         FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE         AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER         LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,         OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE         SOFTWARE.",
    "summary": "Python\u83b7\u53d6bilibili\u76f4\u64ad\u5f39\u5e55\u7684\u5e93, \u4f7f\u7528WebSocket\u534f\u8bae",
    "version": "1.1.8",
    "project_urls": {
        "Homepage": "https://github.com/Shadow403/blivedm",
        "Issues": "https://github.com/Shadow403/blivedm/issues",
        "Repository": "https://github.com/Shadow403/blivedm"
    },
    "split_keywords": [
        "bilibili",
        " bilibili-live",
        " danmaku"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "074e81b2700f52f803011c533e6ef6e0d46555fd1276d3f47279da7c858fa404",
                "md5": "911fe5594478ce14a65068d21aa8d2b0",
                "sha256": "7e4e53d21fa915b3a6913232e4681858ec7bae075289fcfe1eedd79aef454dd8"
            },
            "downloads": -1,
            "filename": "bili_listener-1.1.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "911fe5594478ce14a65068d21aa8d2b0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 29662,
            "upload_time": "2025-07-25T05:29:41",
            "upload_time_iso_8601": "2025-07-25T05:29:41.105744Z",
            "url": "https://files.pythonhosted.org/packages/07/4e/81b2700f52f803011c533e6ef6e0d46555fd1276d3f47279da7c858fa404/bili_listener-1.1.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "298f947e3f33d935f62f904b7e1225c839c55033b7d5d295a479eb9f0640204c",
                "md5": "6048124134d71c724a068b6ab97fcc89",
                "sha256": "469e8607bf707923fe8d04fb4b1a5a1a1d8f6820ff4e633ee86103836d39558a"
            },
            "downloads": -1,
            "filename": "bili_listener-1.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "6048124134d71c724a068b6ab97fcc89",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 23494,
            "upload_time": "2025-07-25T05:29:42",
            "upload_time_iso_8601": "2025-07-25T05:29:42.470865Z",
            "url": "https://files.pythonhosted.org/packages/29/8f/947e3f33d935f62f904b7e1225c839c55033b7d5d295a479eb9f0640204c/bili_listener-1.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-25 05:29:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Shadow403",
    "github_project": "blivedm",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "aiohttp",
            "specs": [
                [
                    "~=",
                    "3.9.0"
                ]
            ]
        },
        {
            "name": "Brotli",
            "specs": [
                [
                    "~=",
                    "1.1.0"
                ]
            ]
        },
        {
            "name": "yarl",
            "specs": [
                [
                    "~=",
                    "1.18.3"
                ]
            ]
        },
        {
            "name": "loguru",
            "specs": [
                [
                    "~=",
                    "0.7.3"
                ]
            ]
        }
    ],
    "lcname": "bili-listener"
}
        
Elapsed time: 0.84554s