{ "info": { "author": "Svarga team, Deepwalker", "author_email": "krivushinme@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Bundle\n******\n\nClass ``Bundle`` is similar to flasks Blueprint with one important\ndifference - ``Bundle`` is a class, when blueprints are instances.\n\nThats all.\nSmall example how it works::\n\n from flask.ext.bundle import Bundle, expose\n\n class News(Bundle):\n \n @expose('/', methods=['GET', 'POST'])\n def index(self):\n return 'Ok'\n\nAPIs\n****\n\nBased on bundle we have some helpers to build APIs in ``flask.ext.bundle.api``.\n\nbundle.utils\n------------\n\ncheck_data\n==========\n\nDecorator for views, get ``Trafaret`` instance. Will return errors dict and status 400\non error.\n\nencode_result\n=============\n\nDecorator for result encoding, gets list of encoders. Each encoder must implement two methods,\n``mimes`` that returns MIME codes, and ``encode(self, data, mime=None)`` that encode data to response string.\n\n\nAPIBundle\n---------\n\nExtensions to ``Bundle`` to make API explorable (TODO write more)", "description_content_type": null, "docs_url": null, "download_url": "git+git://github.com/Deepwalker/Flask-Bundle.git#egg=Flask-Bundle-dev", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Deepwalker/Flask-Bundle/", "keywords": "flask bundle", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "Flask-Bundle", "package_url": "https://pypi.org/project/Flask-Bundle/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Flask-Bundle/", "project_urls": { "Download": "git+git://github.com/Deepwalker/Flask-Bundle.git#egg=Flask-Bundle-dev", "Homepage": "https://github.com/Deepwalker/Flask-Bundle/" }, "release_url": "https://pypi.org/project/Flask-Bundle/0.4/", "requires_dist": null, "requires_python": null, "summary": "Class based tool that behaves like blueprints", "version": "0.4" }, "last_serial": 802533, "releases": { "0.4": [ { "comment_text": "", "digests": { "md5": "79048e93dcbbe57d613805eeec22ce9f", "sha256": "3e43f0ee58a96fbeb87816f84e3efc3fc4b1d72983b57dc147191f23cae5da5a" }, "downloads": -1, "filename": "Flask-Bundle-0.4.tar.gz", "has_sig": false, "md5_digest": "79048e93dcbbe57d613805eeec22ce9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4009, "upload_time": "2012-06-28T19:35:02", "url": "https://files.pythonhosted.org/packages/fe/3d/949b34ad495d62fe00580df8614b75cbc9f466b988c9543536c0dbed3800/Flask-Bundle-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "79048e93dcbbe57d613805eeec22ce9f", "sha256": "3e43f0ee58a96fbeb87816f84e3efc3fc4b1d72983b57dc147191f23cae5da5a" }, "downloads": -1, "filename": "Flask-Bundle-0.4.tar.gz", "has_sig": false, "md5_digest": "79048e93dcbbe57d613805eeec22ce9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4009, "upload_time": "2012-06-28T19:35:02", "url": "https://files.pythonhosted.org/packages/fe/3d/949b34ad495d62fe00580df8614b75cbc9f466b988c9543536c0dbed3800/Flask-Bundle-0.4.tar.gz" } ] }