Skip to content

contrust/web-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-server

Version

Install

pip install .

Usage

Show help

python3 -m webserver -h

Get config file with default values

python3 -m webserver -g output_file

Run server with config file

python3 -m webserver -c config_file

Run tests

python3 -m unittest

Features

  • proxy_pass
  • serve static files / directories with a cache of open files
  • auto-index for catalogs
  • logging requests
  • virtual servers
  • support for keep-alive connections
  • launch of python functions to certain request paths
  • configuration via config file
  • multithreading

Author

👤 Artyom Borisov

Releases

No releases published

Packages

No packages published

Languages