{ "info": { "author": "jasonlyu", "author_email": "jasonlvhit@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "lunar\r\n========\r\n\r\nA WSGI based webframework.\r\n\r\n.. image:: https://cloud.githubusercontent.com/assets/5202391/5469319/20677e82-8615-11e4-9aed-7773f47f7aea.jpg\r\n\r\nWhat is Lunar?\r\n----------------\r\n\r\nLunar\u662f\u4e00\u4e2a\u73a9\u5177\u5f0f\u7684\u7f51\u7edc\u6846\u67b6\uff0c\u57fa\u4e8ePEP333\u548c\u5b83\u7684\u8fdb\u5316\u7248PEP3333\uff0c\u5b83\u5305\u62ec\r\n\r\n* \u4e00\u4e2a\u6a21\u677f\u5f15\u64ce: https://github.com/jasonlvhit/lunar/blob/master/lunar/template.py\r\n* \u4e00\u4e2aSqlite\u7684ORM\u6846\u67b6: https://github.com/jasonlvhit/lunar/blob/master/lunar/database.py\r\n* \u4e00\u4e2aRouter\uff0c\u7528\u4e8e\u8bf7\u6c42\u8f6c\u53d1\u548c\u8def\u7531: https://github.com/jasonlvhit/lunar/blob/master/lunar/router.py\r\n* \u4e00\u4e2a\u7b80\u5355\u7684\u5bf9Request\u548cResponse\u5bf9\u8c61\u7684\u5c01\u88c5\r\n\r\n\u67e5\u770bexample\u6765\u770b\u770b\u8fd9\u662f\u600e\u4e48\u8fd0\u4f5c\u7684\u3002\r\n\r\nlunar is a WSGI based webframework in pure Python, without any third-party dependency. \r\nlunar include a simple router, which provide the request routing, a template engine \r\nfor template rendering, a simple wrapper for WSGI request and response, and a ORM framework \r\nfor sqlite.\r\n\r\nHappy hacking.\r\n\r\n::\r\n\r\n\tfrom lunar.lunar import Lunar\r\n\r\n\t@app.route('/', methods = [\"GET\", \"POST\"])\r\n\tdef hello():\r\n\t\treturn \"Hello, lunar!\"\r\n\r\n\tif __name__ == '__main__':\r\n\t\tapp.run()", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "lunar", "package_url": "https://pypi.org/project/lunar/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/lunar/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/lunar/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "lunar is a WSGI based webframework in pure Python, without any third-party dependency.", "version": "0.0.1" }, "last_serial": 1347854, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "1020a803d868ff5e4d98555203941fb4", "sha256": "4a84859bc03b6a4f45bf88bab80480eae26db2b907887572457938c1faf3defb" }, "downloads": -1, "filename": "lunar-0.0.1-py2.7.egg", "has_sig": false, "md5_digest": "1020a803d868ff5e4d98555203941fb4", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 74173, "upload_time": "2014-12-17T15:07:31", "url": "https://files.pythonhosted.org/packages/12/9a/ae26e29d0c3a4a4620adb9ba070afedc41d096a364522c81a011bcafc963/lunar-0.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "851924af8e9e41195fab7c45b9be99d2", "sha256": "fd9bdfdeb2201776a815035a14523c7107d8b189810068a33f3edbd8f9728eab" }, "downloads": -1, "filename": "lunar-0.0.1.tar.gz", "has_sig": false, "md5_digest": "851924af8e9e41195fab7c45b9be99d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13139, "upload_time": "2014-12-17T15:07:28", "url": "https://files.pythonhosted.org/packages/88/2e/47aae33e9104b4f1d7996c829e175c9344fa197e4bf03201e3da7a177424/lunar-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1020a803d868ff5e4d98555203941fb4", "sha256": "4a84859bc03b6a4f45bf88bab80480eae26db2b907887572457938c1faf3defb" }, "downloads": -1, "filename": "lunar-0.0.1-py2.7.egg", "has_sig": false, "md5_digest": "1020a803d868ff5e4d98555203941fb4", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 74173, "upload_time": "2014-12-17T15:07:31", "url": "https://files.pythonhosted.org/packages/12/9a/ae26e29d0c3a4a4620adb9ba070afedc41d096a364522c81a011bcafc963/lunar-0.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "851924af8e9e41195fab7c45b9be99d2", "sha256": "fd9bdfdeb2201776a815035a14523c7107d8b189810068a33f3edbd8f9728eab" }, "downloads": -1, "filename": "lunar-0.0.1.tar.gz", "has_sig": false, "md5_digest": "851924af8e9e41195fab7c45b9be99d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13139, "upload_time": "2014-12-17T15:07:28", "url": "https://files.pythonhosted.org/packages/88/2e/47aae33e9104b4f1d7996c829e175c9344fa197e4bf03201e3da7a177424/lunar-0.0.1.tar.gz" } ] }