Skip to content

veilchen.py is a fast and simple micro-framework for python web-applications.

License

Notifications You must be signed in to change notification settings

veilchen-web/veilchen

 
 

Repository files navigation

Veilchen Logo Documentation Status

Veilchen: A minimal and friendly Python Web Framework

Veilchen is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library. It is a friendly fork of the Bottle project.

Homepage and documentation: https://github.com/veilchen-web/veilchen

Example: "Hello World" in a Veilchen

from veilchen import route, run, template

@route('/hello/<name>')
def index(name):
    return template('<b>Hello {{name}}</b>!', name=name)

run(host='localhost', port=8080)

Run this script or paste it into a Python console, then point your browser to http://localhost:8080/hello/world. That's it.

Download and Install

Install the latest stable release with pip install veilchen or download veilchen.py (unstable) into your project directory. There are no hard dependencies other than the Python standard library. Veilchen runs with Python version 3.7+.

License

Code and documentation are available according to the MIT License (see LICENSE).

The Veilchen logo however is NOT covered by that license. It is allowed to use the logo as a link to the Veilchen homepage or in direct context with the unmodified library. In all other cases, please ask first.

About

veilchen.py is a fast and simple micro-framework for python web-applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.8%
  • Other 1.2%