Skip to main content

servestatic

servestatic is a lightweight Python module that provides a simple HTTP server for serving static files. It offers an easy-to-use solution for quickly hosting static web content locally. Whether you're developing a small web application or need a temporary server for testing purposes, servestatic has got you covered.

Key Features

  • Simple and intuitive HTTP server for static files
  • Lightweight and easy to install
  • Minimal dependencies
  • Compatible with Python 3.x

Installation

You can install servestatic via pip, which is the recommended method:

pip install servestatic

Usage

To start serving your static files, follow these steps:

  1. Open a terminal and navigate to the folder where your static project is located.
  2. Run the following command:
python -m servestatic

The server will start running, and you can access your static content by opening a web browser and entering the server's URL.

Metadata

Release files for varwwwhtml 0.0.5

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

Source distribution (sdist)

Source distribution for varwwwhtml 0.0.5
File Size Uploaded
varwwwhtml-0.0.5.tar.gz 3.5 kB Details

Release files / varwwwhtml-0.0.5.tar.gz

Download URL varwwwhtml-0.0.5.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6a9cb8c6303d99156329313dff7b95be20209362c28a8c8f913e9fca16544523
BLAKE2b-256 checksum
How to use checksums
b045a014135d4632248a3429d670a09b2bf296a290ee5b532b5c5c25c89ab385
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.0.5 This release

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