Skip to content

Commit 2ae63da

Browse files
committed
feat: aiohttp speedup
1 parent 8139e4f commit 2ae63da

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ Otherwise to get voice support you should run the following command:
4545
# Windows
4646
py -3 -m pip install -U py-cord[voice]
4747
48+
To install additional packages for speedup, run the following command:
49+
50+
.. code:: sh
51+
# Linux/macOS
52+
python3 -m pip install -U "nextcord[speed]"
53+
# Windows
54+
py -3 -m pip install -U nextcord[speed]
55+
4856
4957
To install the development version, do the following:
5058

@@ -59,6 +67,8 @@ Optional Packages
5967
~~~~~~~~~~~~~~~~~~
6068

6169
* `PyNaCl <https://pypi.org/project/PyNaCl/>`__ (for voice support)
70+
* `aiodns <https://pypi.org/project/aiodns/>`__, `Brotli <https://pypi.org/project/Brotli/>`__, `cchardet <https://pypi.org/project/cchardet/>`__ (for aiohttp speedup)
71+
* `orjson <https://pypi.org/project/orjson/>`__ (for json speedup)
6272

6373
Please note that on Linux installing voice you must install the following packages via your favourite package manager (e.g. ``apt``, ``dnf``, etc) before running the above commands:
6474

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
],
4343
'speed': [
4444
'orjson>=3.5.4',
45+
'aiodns>=1.1',
46+
'Brotli',
47+
'cchardet',
4548
]
4649
}
4750

0 commit comments

Comments
 (0)