vev — simple HTTP server request routing
An extremely simple web routing scheme based on Python’s default web server modules, vev makes it easy to quickly create simple web servers. At this point, it’s basically just an experiment.
It works both for Python 2 and 3.
“Vev” is the Norwegian word for “web”.
Example
import vev
class HelloWorld(vev.Server):
@vev.route("/")
def index(self):
return "<html><body><a href='/foo'>Foo</a></body></html>"
@vev.route("/foo")
def foo(self):
return "<html><body><a href='/'>Start</a></body></html>"
if __name__ == "__main__":
vev.serve(("0.0.0.0", 8080), HelloWorld)
License
Copyright 2015 Christian Stigen Larsen
Distributed under the LGPL 2.1. You are allowed to change the license on a particular copy to the LGPL 3.0, the GPL 2.0 or the GPL 3.0.
Metadata
Release files for vev 0.5.0
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 | Actions |
|---|---|---|---|---|
| vev-0.5.0.tar.gz | 12.5 kB | Without provenance | Details for vev-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vev-0.5.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for vev-0.5.0-py2.py3-none-any.whl |
Total release size: 18.3 kB
Release files / vev-0.5.0.tar.gz
| Download URL | vev-0.5.0.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cb03871edff7737085671b08b8b9d6605f8e77094022e7c4c8d70a7eb2c873f
|
|
BLAKE2b-256 checksum How to use checksums |
1317e00a63455f58ad7a1414c9bd9f80acec1b26f9f2e18ecf142934282e7c82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / vev-0.5.0-py2.py3-none-any.whl
| Download URL | vev-0.5.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0273d109e329573e9014a94a08aa67e00578c0fbb218160087432ac94b6502df
|
|
BLAKE2b-256 checksum How to use checksums |
d3b2d4d9a467e29f690f9946baf1e7211230d5e05b89feecaefea2846fc03e63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for vev 0.5.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.