Metadata-Version: 2.1
Name: bili-danmu
Version: 0.1.2
Summary: A modern library for receiving bdanmu ofrom bilibili livestream
License: MIT
Author: WorldObservationLog
Author-email: wolc@duck.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: websockets (>=10.4,<11.0)
Description-Content-Type: text/markdown

# 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(danmu: dict):
    print(danmu)

dmc.run(loop)
```

