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 details)

Uploaded Source

Built Distribution

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

Uploaded Source

File details

Details for the file lunar-0.0.1.tar.gz.

File metadata

  • Download URL: lunar-0.0.1.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lunar-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fd9bdfdeb2201776a815035a14523c7107d8b189810068a33f3edbd8f9728eab
MD5 851924af8e9e41195fab7c45b9be99d2
BLAKE2b-256 882e47aae33e9104b4f1d7996c829e175c9344fa197e4bf03201e3da7a177424

See more details on using hashes here.

File details

Details for the file lunar-0.0.1-py2.7.egg.

File metadata

  • Download URL: lunar-0.0.1-py2.7.egg
  • Upload date:
  • Size: 74.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lunar-0.0.1-py2.7.egg
Algorithm Hash digest
SHA256 4a84859bc03b6a4f45bf88bab80480eae26db2b907887572457938c1faf3defb
MD5 1020a803d868ff5e4d98555203941fb4
BLAKE2b-256 129aae26e29d0c3a4a4620adb9ba070afedc41d096a364522c81a011bcafc963

See more details on using hashes here.

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