Skip to main content

Serve local dirs.

Project description


PyServe is the simple command interface for HTTP serving directories.

Build Status
# Python 2.*
$ python -m SimpleHTTPServer

# Python 3
$ python -m http.server


# Python 2.*
$ pyserve

# Python 3
$ pyserve


  • python (2.6+ or 3.0+)



$ easy_install pyserve


$ pip install pyserve


$ pyserve --help

usage: pyserve [-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

Project details

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.8.tar.gz (76.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page