Async static HTTP server.
Project description
Introduction
A socket-based static HTTP server, Support for asynchronous.(Does not support python2)
Install
pip install tinyhttp
Usage
Asynchrous
python -m tinyhttp # or tinyhttp
Multi-Thread
python -m tinyhttp.thread
Set Port(The defalut port is 6789.)
python -m tinyhttp.thread 6666
Debug mode
python -m tinyhttp --debug
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size tinyhttp-1.1.0.tar.gz (4.7 kB) | File type Source | Python version None | Upload date | Hashes View |