discord.py-ipc-1.1.0
توضیحات
A discord.py extension for inter-process communication.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | discord.py-ipc-1.1.0 |
| نام | discord.py-ipc |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sn1F3rt |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/Sn1F3rt/discord.py-ipc |
| آدرس اینترنتی | https://pypi.org/project/discord.py-ipc/ |
| مجوز | Apache Software License |
# discord.py Inter-process Communication (IPC)
<p style="text-align: center">
<a href="https://github.com/Sn1F3rt/discord.py-ipc/actions?query=workflow%3AAnalyze+event%3Apush">
<img alt="Analyze Status"
src="https://github.com/Sn1F3rt/discord.py-ipc/workflows/Analyze/badge.svg?event=push" />
</a>
<a href="https://github.com/Sn1F3rt/discord.py-ipc/actions?query=workflow%3ABuild+event%3Apush">
<img alt="Build Status"
src="https://github.com/Sn1F3rt/discord.py-ipc/workflows/Build/badge.svg?event=push" />
</a>
<a href="https://discordpy-ipc.readthedocs.io/en/latest/?badge=latest">
<img alt="Documentation Status"
src="https://readthedocs.org/projects/discordpy-ipc/badge/?version=latest" />
</a>
</p>
## About
A discord.py extension for inter-process communication.
## Installation
Python **>=3.8.0** is required.
```py
pip install --upgrade discord.py-ipc
```
## Links
- [Documentation](https://discordpy-ipc.readthedocs.io)
- [Usage Examples](https://github.com/Sn1F3rt/discord.py-ipc/tree/main/examples)
## Support

### Known Issues
- While simultaneously quering the IPC server, you may encounter a `Concurrent call to receive() is not allowed` error. I am aware of this and currently a fix is being implemented to address this issue.
- If the IPC server is started as in the examples, the `ipc_ready` event wouldn't fire because the bot isn't ready (see [3745d65](https://github.com/Sn1F3rt/discord.py-ipc/commit/3745d65c8e2dbeeed5e8aa87a0d2f4e2ccc2df98)) which otherwise leads to a `RuntimeError`. Instead, you can start the server in the `on_ready` event of discord.py, however, in this case you need to install [nest-asyncio](https://pypi.org/project/nest-asyncio/) and add these two lines at the start of your main bot file (before `discord` imports).
```py
import nest_asyncio
nest_asyncio.apply()
```
## License
Copyright (c) 2022 Sn1F3rt
Copyright (c) 2020-21 Ext-Creators
نیازمندی
| مقدار | نام |
|---|---|
| - | discord.py |
| - | sphinx |
| - | sphinxcontrib-trio |
| - | sphinx-rtd-theme |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.0 | Python |
نحوه نصب
نصب پکیج whl discord.py-ipc-1.1.0:
pip install discord.py-ipc-1.1.0.whl
نصب پکیج tar.gz discord.py-ipc-1.1.0:
pip install discord.py-ipc-1.1.0.tar.gz