{ "info": { "author": "James Arthur", "author_email": "thruflo@googlemail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Programming Language :: Python" ], "description": "DEVELOPMENT ON THIS PACKAGES HAS MOVED TO `weblayer `_.\r\n\r\n``thruflo.webapp`` is a WSGI compatible web application framework. It has no test coverage and is no doubt flawed. But it has the advantage of being setup just the way I want it:\r\n\r\n* ``re.compile`` based url mapping\r\n* class instances handling requests with methods that correspond to the HTTP Request's method, e.g.: ``def post(self)`` handles a `POST` request\r\n* a ``webob.Request`` as self.request\r\n* ``return foo`` as the method of responding, where ``foo`` can be a string, a ``webob.Response``, or a ``list`` or ``dict`` to be returned as JSON\r\n* `mako templates`_ with builtin methods including ``static_url``, ``xsrf_form_html`` and ``escape``, as well as references to ``handler`` and ``request``\r\n\r\nOr to put it another way::\r\n\r\n from thruflo.webapp import web\r\n \r\n class Hello(web.RequestHandler):\r\n def get(self):\r\n return 'hello world'\r\n \r\n \r\n \r\n mapping = [('/.*', Hello)]\r\n application = web.WSGIApplication(mapping)\r\n\r\nSee `thruflo.webapp.demo`_ for a slightly fleshed out example usage.\r\n\r\n.. _`mako templates`: http://www.makotemplates.org\r\n.. _`thruflo.webapp.demo`: http://github.com/thruflo/thruflo.webapp/tree/master/src/thruflo/webapp/demo/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/thruflo/thruflo.webapp", "keywords": "", "license": "Public Domain (http://creativecommons.org/publicdomain/zero/1.0/legalcode)", "maintainer": "", "maintainer_email": "", "name": "thruflo.webapp", "package_url": "https://pypi.org/project/thruflo.webapp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/thruflo.webapp/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/thruflo/thruflo.webapp" }, "release_url": "https://pypi.org/project/thruflo.webapp/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Yet another WSGI web app framework", "version": "0.1.3" }, "last_serial": 800578, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "109c1ad317abe273cd271a94135e757a", "sha256": "41ff0c224bb1ea759d63a338dfc777e94478d666029a23aa5dcfd0bfb5d760ee" }, "downloads": -1, "filename": "thruflo.webapp-0.1.tar.gz", "has_sig": false, "md5_digest": "109c1ad317abe273cd271a94135e757a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11553, "upload_time": "2010-06-21T18:47:04", "url": "https://files.pythonhosted.org/packages/1a/1a/d34e26a6b212872c20fc78e64361a1a42d4fb7ed0c9634e726dfb5732368/thruflo.webapp-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "6a014ef5b92c4855d965f35dc4555af3", "sha256": "4ffb1d86b8090c6ac40a4f2212c300f2f6345220c051b32eb5b530720dda5a0a" }, "downloads": -1, "filename": "thruflo.webapp-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6a014ef5b92c4855d965f35dc4555af3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11497, "upload_time": "2010-07-01T13:18:59", "url": "https://files.pythonhosted.org/packages/f5/cd/cf3f1064c1c2edb5c145e644135e5d5632f313de8ca30afb694b89738eb9/thruflo.webapp-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "83f62f3e18a8359910c60b25c467421e", "sha256": "ec10c1eacb7fde1920272082f9c0a133b82328a9cbbcce24d9fc67a1179e7799" }, "downloads": -1, "filename": "thruflo.webapp-0.1.2.tar.gz", "has_sig": false, "md5_digest": "83f62f3e18a8359910c60b25c467421e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11416, "upload_time": "2010-07-05T18:45:12", "url": "https://files.pythonhosted.org/packages/d9/30/24f20aff41450f4369bc45ccddef45ab99e51b33ffdc2a3cea44499b9339/thruflo.webapp-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a3322a084d5945c81ce2d0549b9caa72", "sha256": "d4428afe8e9ea032f8ddf96edc995cfd11dcb1751bd96adb5cda441f083a6f35" }, "downloads": -1, "filename": "thruflo.webapp-0.1.3.tar.gz", "has_sig": false, "md5_digest": "a3322a084d5945c81ce2d0549b9caa72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11516, "upload_time": "2010-11-02T16:16:36", "url": "https://files.pythonhosted.org/packages/f4/e2/3ae12094278a31489da331f633f8e8f4afc6c81bc2e5a318be5b51cac41e/thruflo.webapp-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a3322a084d5945c81ce2d0549b9caa72", "sha256": "d4428afe8e9ea032f8ddf96edc995cfd11dcb1751bd96adb5cda441f083a6f35" }, "downloads": -1, "filename": "thruflo.webapp-0.1.3.tar.gz", "has_sig": false, "md5_digest": "a3322a084d5945c81ce2d0549b9caa72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11516, "upload_time": "2010-11-02T16:16:36", "url": "https://files.pythonhosted.org/packages/f4/e2/3ae12094278a31489da331f633f8e8f4afc6c81bc2e5a318be5b51cac41e/thruflo.webapp-0.1.3.tar.gz" } ] }