Installation

HTTPolice is a Python package that requires Python 2.7 or 3.4+. It can be installed like all other Python packages: with pip from PyPI.

If you’re not familiar with pip, you may need to install it manually or from your OS distribution. You may also need development files and tools for lxml dependencies.

On Debian/Ubuntu

$ sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev
$ sudo apt-get install python-pip

Then, to install the HTTPolice command-line tool into ~/.local/bin:

$ pip install --user HTTPolice

Or, to install it system-wide:

$ sudo pip install HTTPolice

Check that the installation was successful:

$ httpolice --version
HTTPolice 0.1.0

On Windows

After installing Python 2.7, something like this should do the trick:

C:\>Python27\Scripts\pip install HTTPolice

C:\>Python27\Scripts\httpolice --version
HTTPolice 0.1.0