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

Metadata

Release files for pyserve 0.2.4

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.4
File Size Uploaded Provenance Actions
pyserve-0.2.4.tar.gz 74.7 kB Without provenance Details for pyserve-0.2.4.tar.gz

Release files / pyserve-0.2.4.tar.gz

Download URL pyserve-0.2.4.tar.gz
Size 74.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d4a634752545422c17dbed2d0d1249a8cc83480a4fccc62def457b8fa9c38ce1
BLAKE2b-256 checksum
How to use checksums
f34a35d77654db24a822fed357f009dda0462f6abc7c3ce6ef9fc0080f0c9f5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyserve 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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