Skip to main content

lunar is a WSGI based webframework in pure Python, without any third-party dependency.

Project description

A WSGI based webframework.

https://cloud.githubusercontent.com/assets/5202391/5469319/20677e82-8615-11e4-9aed-7773f47f7aea.jpg

What is Lunar?

Lunar是一个玩具式的网络框架,基于PEP333和它的进化版PEP3333,它包括

查看example来看看这是怎么运作的。

lunar is a WSGI based webframework in pure Python, without any third-party dependency. lunar include a simple router, which provide the request routing, a template engine for template rendering, a simple wrapper for WSGI request and response, and a ORM framework for sqlite.

Happy hacking.

from lunar.lunar import Lunar

@app.route('/', methods = ["GET", "POST"])
def hello():
        return "Hello, lunar!"

if __name__ == '__main__':
        app.run()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lunar-0.0.1.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

lunar-0.0.1-py2.7.egg (74.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page