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
File details
Details for the file varwwwhtml-0.0.5.tar.gz
.
File metadata
- Download URL: varwwwhtml-0.0.5.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a9cb8c6303d99156329313dff7b95be20209362c28a8c8f913e9fca16544523 |
|
MD5 | 9953999dd55f196ccef5446bc16f69f2 |
|
BLAKE2b-256 | b045a014135d4632248a3429d670a09b2bf296a290ee5b532b5c5c25c89ab385 |