Skip to content

Latest commit

 

History

History
44 lines (23 loc) · 1.02 KB

install.rst

File metadata and controls

44 lines (23 loc) · 1.02 KB

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 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.