Installation
To use EasyNetwork, first install it using pip:
(.venv) $ pip install easynetwork
Optional Dependencies
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 forCBORSerializer
.msgpack
: Installs the required dependencies forMessagePackSerializer
.
Asynchronous I/O extensions:
sniffio
: Installs the version supported and tested of sniffio.
Example where the cbor
and msgpack
extensions are installed:
(.venv) $ pip install "easynetwork[cbor,msgpack]"
See also
- Asynchronous Backend Engine API
See how
sniffio
is used.