Skip to main content

PyServe

PyServe is the simple command interface for HTTP serving directories.

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

# Python 3
$ python -m http.server

VS

# Python 2.*
$ pyserve

# Python 3
$ pyserve
https://raw.github.com/klen/pyserve/master/example.png

Requirements

  • python (2.6+ or 3.0+)

Installation

Distribute:

$ easy_install pyserve

PIP:

$ pip install pyserve

Usage

$ 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

Release files for pyserve 0.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyserve 0.2.8
File Size Uploaded
pyserve-0.2.8.tar.gz 76.6 kB Details

Release files / pyserve-0.2.8.tar.gz

Download URL pyserve-0.2.8.tar.gz
Size 76.6 kB
Tags Source
SHA-256 checksum
How to use checksums
032144c27a3219fe027774883e9ae2bc576c01529be3a20ce2292bd45a6f49c9
BLAKE2b-256 checksum
How to use checksums
7a44cdd572c9eb2ce101e3266df75b0a9d84bc54cd4a786eb8c7a6fbc26129d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.8 This release

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page