pyweblight package¶
Submodules¶
pyweblight.configs module¶
All configurations for pyweblight
pyweblight.main module¶
main entry point to the program
pyweblight.static module¶
version which can be consumed from within the module
pyweblight.webserver_start module¶
Web server for development purposes, light weight with some features.
Mark Veltzer
TODO: - call this project dws. - fix the logging of the web server to go to .dws_logs - fix it so the cwd of the web server will not change to /. - fix it so if there is a problem with the web server I will print the error
to the screen.
self.path has parameters in it. strip them.
/favicon.ico return 500 and should return 404.
make the search path much more elaborate so that I can easy searching for files inside
libraries. - make the transport of requests be UTF-8 so that the browser will shut up about the fact that all my documents do not have ending in them.
- class pyweblight.webserver_start.MyHandler(*args)[source]¶
Bases:
StoppableHttpRequestHandler
- class pyweblight.webserver_start.StoppableHttpRequestHandler(*args, directory=None, **kwargs)[source]¶
Bases:
SimpleHTTPRequestHandlerhttp request handler with QUIT stopping the server
pyweblight.webserver_stop module¶
Stop the webserver
Module contents¶
Initialize the module