Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
4 of 445 committers (0.9%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.3%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
An API wrapper for Discord written in Python.
Basic Info
- Host: GitHub
- Owner: Rapptz
- License: mit
- Language: Python
- Default Branch: master
- Homepage: http://discordpy.rtfd.org/en/latest
- Size: 21.7 MB
Statistics
- Stars: 15,656
- Watchers: 254
- Forks: 3,882
- Open Issues: 143
- Releases: 0
Topics
Metadata Files
README.ja.rst
discord.py
==========
.. image:: https://discord.com/api/guilds/336642139381301249/embed.png
:target: https://discord.gg/nXzj3dg
:alt: Discordサーバーの招待
.. image:: https://img.shields.io/pypi/v/discord.py.svg
:target: https://pypi.python.org/pypi/discord.py
:alt: PyPIのバージョン情報
.. image:: https://img.shields.io/pypi/pyversions/discord.py.svg
:target: https://pypi.python.org/pypi/discord.py
:alt: PyPIのサポートしているPythonのバージョン
discord.py は機能豊富かつモダンで使いやすい、非同期処理にも対応したDiscord用のAPIラッパーです。
主な特徴
-------------
- ``async`` と ``await`` を使ったモダンなPythonらしいAPI。
- 適切なレート制限処理
- メモリと速度の両方を最適化。
インストール
-------------
**Python 3.8 以降のバージョンが必須です**
完全な音声サポートなしでライブラリをインストールする場合は次のコマンドを実行してください:
.. code:: sh
# Linux/macOS
python3 -m pip install -U discord.py
# Windows
py -3 -m pip install -U discord.py
音声サポートが必要なら、次のコマンドを実行しましょう:
.. code:: sh
# Linux/macOS
python3 -m pip install -U discord.py[voice]
# Windows
py -3 -m pip install -U discord.py[voice]
開発版をインストールしたいのならば、次の手順に従ってください:
.. code:: sh
$ git clone https://github.com/Rapptz/discord.py
$ cd discord.py
$ python3 -m pip install -U .[voice]
オプションパッケージ
~~~~~~~~~~~~~~~~~~~~~~
* PyNaCl (音声サポート用)
Linuxで音声サポートを導入するには、前述のコマンドを実行する前にお気に入りのパッケージマネージャー(例えば ``apt`` や ``dnf`` など)を使って以下のパッケージをインストールする必要があります:
* libffi-dev (システムによっては ``libffi-devel``)
* python-dev (例えばPython 3.8用の ``python3.8-dev``)
簡単な例
--------------
.. code:: py
import discord
class MyClient(discord.Client):
async def on_ready(self):
print('Logged on as', self.user)
async def on_message(self, message):
# don't respond to ourselves
if message.author == self.user:
return
if message.content == 'ping':
await message.channel.send('pong')
intents = discord.Intents.default()
intents.message_content = True
client = MyClient(intents=intents)
client.run('token')
Botの例
~~~~~~~~~~~~~
.. code:: py
import discord
from discord.ext import commands
intents = discord.Intents.default()
intents.message_content = True
bot = commands.Bot(command_prefix='>', intents=intents)
@bot.command()
async def ping(ctx):
await ctx.send('pong')
bot.run('token')
examplesディレクトリに更に多くのサンプルがあります。
リンク
------
- `ドキュメント `_
- `公式Discordサーバー `_
- `Discord API `_
Owner
- Name: Danny
- Login: Rapptz
- Kind: user
- Website: http://stackoverflow.com/users/1381108/rapptz
- Repositories: 59
- Profile: https://github.com/Rapptz
GitHub Events
Total
- Create event: 6
- Commit comment event: 8
- Issues event: 116
- Watch event: 991
- Delete event: 3
- Issue comment event: 428
- Push event: 169
- Pull request review comment event: 265
- Pull request review event: 211
- Pull request event: 311
- Fork event: 244
Last Year
- Create event: 6
- Commit comment event: 8
- Issues event: 116
- Watch event: 991
- Delete event: 3
- Issue comment event: 428
- Push event: 169
- Pull request review comment event: 265
- Pull request review event: 211
- Pull request event: 311
- Fork event: 244
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Rapptz | r****z@g****m | 3,135 |
| Nadir Chowdhury | c****0@o****m | 149 |
| Josh | j****t@g****m | 142 |
| khazhyk | k****y@g****m | 69 |
| Sebastian Law | 4****w | 56 |
| Soheab | 3****b | 55 |
| Puncher | 6****1 | 55 |
| z03h | 7****h | 53 |
| jack1142 | 6****2 | 50 |
| Steve C | d****3@g****m | 46 |
| Hornwitser | d****d@h****o | 42 |
| Alex Nørgaard | U****a@A****v | 40 |
| Lilly Rose Berner | l****y@l****v | 38 |
| Imayhaveborkedit | i****t | 36 |
| apple502j | 3****j | 35 |
| Stocker | 4****C | 35 |
| Michael H | m****l@m****h | 32 |
| bmintz | b****z@p****m | 28 |
| owocado | 2****o | 26 |
| Bryan Forbes | b****n@r****t | 26 |
| James Hilton-Balfe | g****t@g****m | 23 |
| Maya | 1****e | 21 |
| DA344 | 1****4 | 20 |
| I. Ahmad | 5****d | 18 |
| github-actions[bot] | 4****] | 18 |
| Mikey | 8****y | 17 |
| Devon R | G****s | 16 |
| Harmon | H****8@g****m | 15 |
| Myst(MysterialPy) | m****y@g****m | 14 |
| Vexs | m****d@g****m | 13 |
| and 415 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 313
- Total pull requests: 785
- Average time to close issues: about 1 month
- Average time to close pull requests: about 1 month
- Total issue authors: 275
- Total pull request authors: 199
- Average comments per issue: 2.9
- Average comments per pull request: 1.37
- Merged pull requests: 438
- Bot issues: 0
- Bot pull requests: 7
Past Year
- Issues: 88
- Pull requests: 331
- Average time to close issues: 3 days
- Average time to close pull requests: 16 days
- Issue authors: 76
- Pull request authors: 77
- Average comments per issue: 1.22
- Average comments per pull request: 1.09
- Merged pull requests: 172
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- 2br-2b (6)
- EricPanDev (4)
- SirPigari (4)
- TheRoskomnadzor (4)
- PythonCoderAS (3)
- Soheab (3)
- lexicalunit (2)
- modernNeo (2)
- wookie184 (2)
- LostLuma (2)
- simoovara (2)
- Luc1412 (2)
- 0xSage (2)
- shark-speare (2)
- RazzerDE (2)
Pull Request Authors
- Soheab (95)
- Puncher1 (54)
- DA-344 (52)
- mikeshardmind (43)
- owocado (38)
- AbstractUmbra (22)
- imayhaveborkedit (20)
- z03h (16)
- bijij (15)
- LeoCx1000 (14)
- dolfies (14)
- iyad-f (14)
- nkjh104 (8)
- Jackenmen (8)
- lmaotrigine (7)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 15
-
Total downloads:
- pypi 2,841,092 last-month
- Total docker downloads: 88,002
-
Total dependent packages: 235
(may contain duplicates) -
Total dependent repositories: 19,043
(may contain duplicates) - Total versions: 331
- Total maintainers: 8
pypi.org: discord.py
A Python wrapper for the Discord API
- Documentation: https://discordpy.readthedocs.io/en/latest/
- License: The MIT License (MIT) Copyright (c) 2015-present Rapptz 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.
-
Latest release: 2.6.3
published 6 months ago
Rankings
Maintainers (1)
pypi.org: discord
A mirror package for discord.py. Please install that instead.
- Homepage: https://github.com/Rapptz/discord.py
- Documentation: https://discord.readthedocs.io/
- License: mit
-
Latest release: 2.3.2
published over 2 years ago
Rankings
Maintainers (1)
pypi.org: discord-python-api
A Python wrapper for the Discord API
- Homepage: https://github.com/Rapptz/discord.py
- Documentation: https://discord-python-api.readthedocs.io/
- License: MIT
-
Latest release: 1.0.0
published over 3 years ago
Rankings
proxy.golang.org: github.com/Rapptz/discord.py
- Documentation: https://pkg.go.dev/github.com/Rapptz/discord.py#section-documentation
- License: mit
-
Latest release: v2.6.3+incompatible
published 6 months ago
Rankings
proxy.golang.org: github.com/rapptz/discord.py
- Documentation: https://pkg.go.dev/github.com/rapptz/discord.py#section-documentation
- License: mit
-
Latest release: v2.6.3+incompatible
published 6 months ago
Rankings
pypi.org: discord-api-wrapper
A Python wrapper for the Discord API
- Homepage: https://github.com/Rapptz/discord.py
- Documentation: https://discord-api-wrapper.readthedocs.io/
- License: MIT
-
Latest release: 1.0.0
published over 3 years ago
Rankings
pypi.org: coolcord.py
A Python wrapper for the Discord API
- Homepage: https://github.com/Rapptz/discord.py
- Documentation: https://coolcord.py.readthedocs.io/
- License: MIT
-
Latest release: 1.7.0
published over 3 years ago
Rankings
Maintainers (1)
pypi.org: discord-py-api
A Python wrapper for the Discord API
- Homepage: https://github.com/Rapptz/discord.py
- Documentation: https://discordpy.readthedocs.io/en/latest/
- License: MIT
-
Latest release: 1.7.851
published over 3 years ago
Rankings
Maintainers (1)
pypi.org: fightman01dc.pymod
A python wrapper for the Discord API
- Homepage: https://github.com/Rapptz/discord.py
- Documentation: https://discordpy.readthedocs.io/en/latest/
- License: MIT
-
Latest release: 2.0.4
published about 6 years ago
Rankings
Maintainers (1)
pypi.org: maxcord.py
A Python wrapper for the Discord API
- Homepage: https://github.com/Rapptz/discord.py
- Documentation: https://discordpy.readthedocs.io/en/latest/
- License: MIT
-
Latest release: 1.0
published over 3 years ago
Rankings
Maintainers (1)
pypi.org: discord.pyaio
A python wrapper for the Discord API
- Homepage: https://github.com/Rapptz/discord.py
- Documentation: https://discord.pyaio.readthedocs.io/
- License: MIT
-
Latest release: 0.16.12
published over 7 years ago
Rankings
Maintainers (1)
pypi.org: temp-discordpy-without-websockets-requirement
A python wrapper for the Discord API
- Homepage: https://github.com/Rapptz/discord.py
- Documentation: https://discordpy.readthedocs.io/en/latest/
- License: MIT
-
Latest release: 0.1
published about 6 years ago
Rankings
Maintainers (1)
pypi.org: kko-discord
A Python wrapper for the Discord API
- Homepage: https://github.com/Rapptz/discord.py
- Documentation: https://discordpy.readthedocs.io/en/latest/
- License: MIT
-
Latest release: 1.4.69
published over 5 years ago
Rankings
Maintainers (1)
conda-forge.org: discord.py
- Homepage: https://github.com/Rapptz/discord.py
- License: MIT
-
Latest release: 1.7.3
published over 4 years ago
Rankings
pypi.org: discord.py-slipstream-fork
A Python wrapper for the Discord API
- Documentation: https://discordpy.readthedocs.io/en/latest/
- License: The MIT License (MIT) Copyright (c) 2015-present Rapptz 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.
-
Latest release: 2.6.0a0
published 8 months ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v2 composite
- actions/github-script v3 composite
- peter-evans/create-pull-request v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite
- actions/setup-python v4 composite
- jakebailey/pyright-action v1 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- aiohttp >=3.7.4,<4