Skip to main content

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.

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)

Source distribution for vev 0.5.0
File Size Uploaded
vev-0.5.0.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vev 0.5.0
File Interpreter ABI Platform
vev-0.5.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.0.2

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page