Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

nalgeon/wee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wee

Toy WSGI-compatible web framework.

Features:

  • Basic routing (no pattern matching)
  • Request parsing (headers, form data, json etc)

Usage

Write your app:

from wee import application, respond, route

@route('/hi')
def index(request):
    return respond('Hi there!')

Then run it with WSGI server of your choice:

uwsgi --http :9090 --wsgi-file your_app.py

For more examples see sample_app.py.

About

Toy WSGI-compatible web framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages