Skip to content

imom0/SimpleTornadoServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleTornadoServer

Use tornado's static file handler to replace SimpleHTTPServer in Python standard library, with this you can simply type only one command and run an HTTP server on the port you desired, the default port 8000 is as the same as the SimpleHTTPServer provided.

Installation

python setup.py install

Usage

$ python -m SimpleTornadoServer
Serving HTTP on 0.0.0.0 port 8000 ...

the default port is 8000, or

$ python -m SimpleTornadoServer [PORT]

Also, you can use SocketServer.ThreadingMixin and BaseHttpServer.HTTPServer for the ability of concurrency.

Bitdeli Badge

About

`python -m SimpleTornadoServer` like SimpleHTTPServer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages