Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imom0/SimpleTornadoServer
`python -m SimpleTornadoServer` like SimpleHTTPServer.
https://github.com/imom0/SimpleTornadoServer
Last synced: 13 days ago
JSON representation
`python -m SimpleTornadoServer` like SimpleHTTPServer.
- Host: GitHub
- URL: https://github.com/imom0/SimpleTornadoServer
- Owner: imom0
- License: other
- Created: 2012-09-27T04:07:05.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-12T06:10:08.000Z (almost 10 years ago)
- Last Synced: 2024-09-23T19:16:59.963Z (about 2 months ago)
- Language: Python
- Homepage: http://pypi.python.org/pypi/SimpleTornadoServer
- Size: 173 KB
- Stars: 22
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://d2weczhvl823v0.cloudfront.net/imom0/simpletornadoserver/trend.png)](https://bitdeli.com/free "Bitdeli Badge")