Metadata-Version: 2.4
Name: pyLiveMusic
Version: 1.0a0
Summary: A python framework for creating private room for live streaming audio using webrtc.
Author: Bakachii
License-Expression: MIT
Project-URL: Homepage, https://github.com/Bakachii/pyLiveMusic
Project-URL: Repository, https://github.com/Bakachii/pyLiveMusic
Project-URL: Issues, https://github.com/Bakachii/pyLiveMusic/issues
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: <=3.14.7,>=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiortc>=1.15.0
Requires-Dist: aiohttp>=3.14.3
Requires-Dist: numpy<=2.5.2,>=2.4.4
Provides-Extra: mongo
Requires-Dist: pymongo>=4.17.0; extra == "mongo"
Provides-Extra: redis
Requires-Dist: redis>=8.1.0; extra == "redis"
Provides-Extra: all
Requires-Dist: pyLiveMusic[mongo,redis]; extra == "all"
Dynamic: license-file

# pyLiveMusic
A python framework for creating private room for live streaming audio using webrtc.

# Installation

```bash
pip install -U pyLiveMusic
```

### Optional storage backends

<details>
<summary><strong>MongoDB</strong></summary>
<code>pip install -U "pyLiveMusic[mongo]"</code>
</details>

<details>
<summary><strong>Redis</strong></summary>
<code>pip install -U "pyLiveMusic[redis]"</code>
</details>

<details>
<summary><strong>MongoDB + Redis</strong></summary>
<code>pip install -U "pyLiveMusic[all]"</code>
</details>

----------------------------

# Basic Setup
```python
import asyncio

from pyLiveMusic import Client


async def main():
    client = Client()
    try:
        await client.start()
        await client.run_until_disconnect()
    finally:
        await client.stop()


if __name__ == '__main__':
    asyncio.run(main())
```
----------------------------

# Documentation

- [cURL API reference](docs/curl_methods_for_interaction/README.md) — for HTTP endpoint.
- [Player functions](docs/player_functions/README.md) — the optional Python `Room` / `Queue` / `Playback` API.
