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
Release files for http-servers 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| http_servers-0.0.2.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| http_servers-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / http_servers-0.0.2.tar.gz
| Download URL | http_servers-0.0.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
651a995bc3461082a46b1b915035f719db29216f32385684d812a847d6aa3e60
|
|
BLAKE2b-256 checksum How to use checksums |
f3bb8e581cd47fdd18ecc95bfd7f847674707d2a306e2c2cca5de06c07185e6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / http_servers-0.0.2-py3-none-any.whl
| Download URL | http_servers-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e34508858bff1112c06244d36d6e8cafa2589ebfeaca16b9fb9638fa25e6e1a0
|
|
BLAKE2b-256 checksum How to use checksums |
c539eab71b352291d9163c9a2aac67f7de4fb919741db770ca10e14d7351df25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|