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:
- Open a terminal and navigate to the folder where your static project is located.
- 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
Release history Release notifications | RSS feed
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)