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.

Files for lunar, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size lunar-0.0.1-py2.7.egg (74.2 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size lunar-0.0.1.tar.gz (13.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page