bili-danmu-0.2.5


توضیحات

A modern library for receiving danmu from bilibili livestream
ویژگی مقدار
سیستم عامل -
نام فایل bili-danmu-0.2.5
نام bili-danmu
نسخه کتابخانه 0.2.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده WorldObservationLog
ایمیل نویسنده wolc@duck.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/bili-danmu/
مجوز MIT
# bili-danmu A modern library for receiving danmu from bilibili livestream, with full asynchronous support. NOTICE: It's a simple implement, so IT DOES NOT INCLUDE PARSEING DANMU FEATURES. You need to parse the danmu dict mannually. # Installation Just execute `pip install bili-danmu` # Example ```python import asyncio from danmu import DanmuClient loop = asyncio.new_event_loop() dmc = DanmuClient(25512465) @dmc.on_danmu async def on_danmu(room_id: int, danmu: dict): print(danmu) dmc.run(loop) loop.run_forever() ``` # Special Thanks This project refers to some other projects. Sincerely appreciate their developers. - [Code4Epoch/Bolaris](https://github.com/Code4Epoch/Bolaris) Give me the infomation of v3 protocol - [qydysky/bili_danmu](https://github.com/qydysky/bili_danmu) A full list of CMD in danmu pack's body - [littlecodersh/danmu](https://github.com/littlecodersh/danmu) A very old danmu library. Inspire me to use callback design - [yjqiang/danmu](https://github.com/yjqiang/danmu) Main reference - [yangjunlong/barrager.js](https://github.com/yangjunlong/barrager.js) A protocol document and code implement


نیازمندی

مقدار نام
>=10.4,<11.0 websockets
>=0.7.0,<0.8.0 brotlipy


زبان مورد نیاز

مقدار نام
>=3.10,<4.0 Python


نحوه نصب


نصب پکیج whl bili-danmu-0.2.5:

    pip install bili-danmu-0.2.5.whl


نصب پکیج tar.gz bili-danmu-0.2.5:

    pip install bili-danmu-0.2.5.tar.gz