protoserver
Really really simple python webserver for prototyping. Basically just wraps SimpleHTTPServer/SimpleHTTPRequestHandler. I made this for my own purposes, but you’re welcome to use it.
Defaults to running on the port specified in the PORT environment variable, or 8080 if not defined.
Installation
pip install protoserver
The only function
protoserver.serve(directory = ".")
Example
import protoserver protoserver.serve() # Serves from the current directory
Another example
import protoserver
protoserver.serve("static") # Serves from ./static
Clone and run demo/demo.py if you need to see this in action.
Metadata
Release files for protoserver 0.1.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 | Provenance | |
|---|---|---|---|---|
| protoserver-0.1.2.tar.gz | 1.1 kB | Without provenance | Details |
Release files / protoserver-0.1.2.tar.gz
| Download URL | protoserver-0.1.2.tar.gz |
|---|---|
| Size | 1.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a252bb69df872b1bf9111b0cb07f8e3d99f32c578ba902d81bd0bd75fb6bb409
|
|
BLAKE2b-256 checksum How to use checksums |
edb34471445bd7e809881834f25f1c143f28f8fda609ea74de1b4e089b8093d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for protoserver 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.