Skip to main content

static web server cli tool

Project description

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.

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

varwwwhtml-0.0.5.tar.gz (3.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page