Lweb: A light-weight python web framework, shameless copy from bottle.
Lweb is a light-weight python wsgi framework, shameless copy from bottle. No builtin template engine. No builtin server, need thirdpart wsgi driver.
The last stable release is available on PyPI and can be installed with
$ pip install lweb
import lweb def r_index(): return "hello!" urls = [ ('/', r_index), ] app = lweb.Application() app.add_urls(urls) if __name__ == '__main__': import bjoern print 'Wsgi server start!' bjoern.run(app, '0.0.0.0', 7000)
- Only pure WSGI app is provided
- Django style url router
- Concurrent safe
- Gevent friendly