To use EasyNetwork, first install it using pip
:
(.venv) $ pip install easynetwork
EasyNetwork has no required dependencies, but comes with many optional dependencies to meet specific needs.
Here is the full list:
Serializer extensions:
cbor
: Installs the required dependencies for.CBORSerializer
.encryption
: Installs the required dependencies for.EncryptorSerializer
.msgpack
: Installs the required dependencies for.MessagePackSerializer
.
Asynchronous I/O extensions:
sniffio
: Installs the version supported and tested of :githubsniffio <python-trio/sniffio>
.
Example where the cbor
and msgpack
extensions are installed:
(.venv) $ pip install "easynetwork[cbor,msgpack]"
/api/lowlevel/async/backend
See how
sniffio
is used.