Skip to main content

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
pyserve/raw/master/example.png

Requirements

  • python (2.6+ or 3.0+)

Installation

Distribute:

$ 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.5.tar.gz (74.7 kB view details)

Uploaded Source

File details

Details for the file pyserve-0.2.5.tar.gz.

File metadata

  • Download URL: pyserve-0.2.5.tar.gz
  • Upload date:
  • Size: 74.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyserve-0.2.5.tar.gz
Algorithm Hash digest
SHA256 45f5729c51c734fc3dff753941738324ce73c422fab9c2c57a3efdbad38dcb10
MD5 b559dbfeaa4cd0347347c27bd04ab55b
BLAKE2b-256 3058e2da16cdb6e25f9c6625a5c9a74c492057f1a54ec01a8543234ed6f46671

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.8

1 file

0.2.7

1 file

0.2.6

1 file

This release

0.2.5 This release

1 file

0.2.4

1 file

0.2.1

1 file

0.2.0

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 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