{ "info": { "author": "Justin McGuire", "author_email": "jm@landedstar.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: WSGI" ], "description": "# Effortless Bootstrap Web/Form Monkey Patch\n\nBootstrap your old web/form.py forms!\n\n## Synopsis\n\nJust because web.py hasn't been updated since 2012 doesn't mean you have to\nsettle for outdated HTML layouts. Scrap that 2001-era table-based form layout,\nand use this module to create shiny, new Bootstrap 4-alpha forms!\n\nTwo ways to be happy:\n\n1. Patch the old form classes.\n2. Use our backwards-compatible form classes.\n\nEither way, *you won't have to change a bit of your program logic.* It's a\njust small change at the top of the program.\n\n## How To Patch\n\nTo update your old webforms, just import and use the `patch()` function.\n\n from effortless_bootstrap_web_form_monkey_patch import patch\n patch()\n\nNow you can continue to use your old web.py forms normally.\n\n## How to Use Backwards-Compatible Classes\n\nTo use all-new but all-backwards-compatible classes, just import this package\ninstead of web.form.\n\n import effortless_bootstrap_web_form_monkey_patch as form\n\nNow you can continue to use your old web.py forms normally.\n\n## Remember to Update Your Templates\n\nOh yeah, make sure you update the templates to use Bootstrap. The most\nimportant piece to remember is to wrap all Bootstrap items with a `.container`\ndiv.\n\n
\n
\n $:form.render()\n
\n
\n\nAnd of course you need the CSS. If you don't want to host it locally, use their\nCDN by adding this piece to the header.\n\n \n\nFor more information on using Bootstrap 4-alpha, check out http://v4-alpha.getbootstrap.com/ .\n\n## Installation\n\n pip install effortless_bootstrap_web_form_monkey_patch\n\n## Inspiration\n\n - Bootstrap 4 alpha form documentation at http://v4-alpha.getbootstrap.com/components/forms/\n - Runtime patching was learned at https://tryolabs.com/blog/2013/07/05/run-time-method-patching-python/\n\n## Author\n\nJustin McGuire — @landedstar.com — http://landedstar.com\n\n## License\n\nMIT License", "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/jmcguire/effortless_bootstrap_web_form_monkey_patch", "keywords": "web form bootstrap", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "effortless_bootstrap_web_form_monkey_patch", "package_url": "https://pypi.org/project/effortless_bootstrap_web_form_monkey_patch/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/effortless_bootstrap_web_form_monkey_patch/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/jmcguire/effortless_bootstrap_web_form_monkey_patch" }, "release_url": "https://pypi.org/project/effortless_bootstrap_web_form_monkey_patch/0.2/", "requires_dist": null, "requires_python": null, "summary": "Patch the old Form classes in web.py to create Bootstrap-compatible forms", "version": "0.2" }, "last_serial": 2347214, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f6964309144ca6c337f58c745ae364e4", "sha256": "17ed43d951ea16cb20fdd61e4786944ca1ad005ef7c951d489d6efd06c272a47" }, "downloads": -1, "filename": "effortless_bootstrap_web_form_monkey_patch-0.1.tar.gz", "has_sig": false, "md5_digest": "f6964309144ca6c337f58c745ae364e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4182, "upload_time": "2016-09-16T20:57:49", "url": "https://files.pythonhosted.org/packages/2b/6a/13737e4f7c4dfd578ef9a78ad2c23bf34935f0f2e3de251f23deaae972c7/effortless_bootstrap_web_form_monkey_patch-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "73f8efe80b4dff942d7d4e2718c834ef", "sha256": "4f3f1a96ff4ba1c5b2fdbe8b6f56e8d32d5f5656cbbddc9701ec1f5ef3c9e868" }, "downloads": -1, "filename": "effortless_bootstrap_web_form_monkey_patch-0.2.tar.gz", "has_sig": false, "md5_digest": "73f8efe80b4dff942d7d4e2718c834ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4338, "upload_time": "2016-09-16T22:18:59", "url": "https://files.pythonhosted.org/packages/d1/80/5cf9e39dc955a76a127f8c5f2daf23fb03707c95666f0ab1d10fee9a4a39/effortless_bootstrap_web_form_monkey_patch-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "73f8efe80b4dff942d7d4e2718c834ef", "sha256": "4f3f1a96ff4ba1c5b2fdbe8b6f56e8d32d5f5656cbbddc9701ec1f5ef3c9e868" }, "downloads": -1, "filename": "effortless_bootstrap_web_form_monkey_patch-0.2.tar.gz", "has_sig": false, "md5_digest": "73f8efe80b4dff942d7d4e2718c834ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4338, "upload_time": "2016-09-16T22:18:59", "url": "https://files.pythonhosted.org/packages/d1/80/5cf9e39dc955a76a127f8c5f2daf23fb03707c95666f0ab1d10fee9a4a39/effortless_bootstrap_web_form_monkey_patch-0.2.tar.gz" } ] }