http-servers is a simple, no-dependencies command-line static HTTP server.
Project description
http-servers: static HTTP server CLI
http-servers is a simple, no-dependencies command-line static HTTP server.
Purposes
- Similar to node.js http-server, but without the need to install node
- This package doesn't bring additional dependencies
Installation
pip install http-servers
Documentation - RTF(riendly)M
$ http-server --help
usage: http-server [--cors] [-h HOST] [-p PORT] [-d SOURCE_DIR] [--cache] [--help]
Run HTTP server in given folder
optional arguments:
--cors Pass this flag to enable cors
-h HOST, --host HOST Address on which server will listen
-p PORT, --port PORT Port on which server will listen
-d SOURCE_DIR, --source-dir SOURCE_DIR
--cache Watch changes in directory and invalidate cache on change.
--help Show this help
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
http_servers-0.0.2.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for http_servers-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e34508858bff1112c06244d36d6e8cafa2589ebfeaca16b9fb9638fa25e6e1a0 |
|
MD5 | de3aaf6787492780dff4a7c1e0764ca8 |
|
BLAKE2b-256 | c539eab71b352291d9163c9a2aac67f7de4fb919741db770ca10e14d7351df25 |