Installation

Note

These instructions apply to slimHTTP .

slimHTTP is a pure python library, so no special steps are required for installation. You can install it in a variety of ways described below though for your convenience.

Using pip

pip install slimHTTP

Clone using git

git clone https://github.com/Torxed/slimHTTP.git

But most likely you’ll want to submodule this in a project. To do that, I would recommend not following master as it’s actively developed. Any release/tag should be good enough for production.

cd project/dependencies
git submodule add -b v1.0 https://github.com/Torxed/slimHTTP.git

Which would follow the stable release branch of v1.0 where tests should be done before release.

Manually unpacking source

The source code archives (including git) include examples. Archives are available on Github:

unzip slimHTTP-x.x.x.zip
cd slimHTTP-x.x.x
python examples/http_server.py