PyServe
PyServe is the simple command interface for HTTP serving directories.
# Python 2.* $ python -m SimpleHTTPServer # Python 3 $ python -m http.server
VS
# Python 2.* $ serve # Python 3 $ serve
Requirements
python (2.6+ or 3.0+)
Installation
$ easy_install pyserve
PIP:
$ pip install pyserve
Usage
$ serve --help usage: serve [-h] [-p PORT] [-s] [-a] [path] Serve current directory positional arguments: path Path to serve directory. optional arguments: -h, --help show this help message and exit -p PORT, --port PORT The port of the webserver. -s, --share Make server available externally. -a, --autoindex Enable autoindex files. -d, --hidden Hide system files
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyserve-0.2.7.tar.gz
(76.6 kB
view details)
File details
Details for the file pyserve-0.2.7.tar.gz.
File metadata
- Download URL: pyserve-0.2.7.tar.gz
- Upload date:
- Size: 76.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58eb4ca19bca37202f924d5609b0aab3b2023171c4fdfb2a8d545e20b2972b1b
|
|
| MD5 |
5f4be197351db8e25bd1a5bbbdd0ff4d
|
|
| BLAKE2b-256 |
d9a27a61bdc4c3e1d148ca3b1eeab047562033955b19e78e74d0c3d0ecf3e2aa
|