File: installation.rst

package info (click to toggle)
python-hpack 4.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 444 kB
  • sloc: python: 5,866; makefile: 25
file content (28 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Installing hpack
================

hpack is trivial to install from the Python Package Index. Simply run:

.. code-block:: console

    $ pip install hpack

Alternatively, feel free to download one of the release tarballs from
`our GitHub page`_, extract it to your favourite directory, and then run

.. code-block:: console

    $ python setup.py install

hpack has no external dependencies.

Using nghttp2
-------------

If you want to use nghttp2 with hpack, all you need to do is install it along
with its Python bindings. Consult `nghttp2's documentation`_ for instructions
on how to install it.


.. _our GitHub page: https://github.com/python-hyper/hpack
.. _nghttp2's documentation: https://nghttp2.org/documentation/