{ "info": { "author": "Moriyoshi Koizumi", "author_email": "mozo@mozo.jp", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Browsers", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Testing", "Topic :: Software Development :: Testing :: Traffic Generation" ], "description": ".. contents::\n\nIntroduction\n============\n\nlxmlmechanize is an efficient, i18n-aware, simple, lxml-based HTTP user-agent.\n\nSynopsis\n========\n\n::\n\n from lxmlmechanize import default_keychain, Mechanize\n from lxmlmechanize.urllib2ext import Credentials\n\n m = Mechanize()\n\n # set credentials for authentication\n default_keychain.add(Credentials('http://localhost:12345/', realm=None, user='test', password='testtest'))\n\n # navigate to the page\n m.navigate('http://localhost:12345/')\n\n # populate the form fields\n form = m.page.root.xpath('body//form[@id=\"test\"]')[0]\n form.xpath('input[@name=\"user\"]')[0].set('value', 'user')\n form.xpath('input[@name=\"password\"]')[0].set('value', 'password')\n\n # submit the form\n m.submit_form(form)\n\n\n\nContributors\n============\n\n\nChangelog\n=========\n\n0.0.0\n--------------------\n\n- Initial\n\n0.0.1\n--------------------\n\n- Store the headers and HTTP status of the last request to Mechanize object as ``headers`` and ``status`` respectively.\n\n0.0.2\n--------------------\n\n- Make the loader factory customizable.\n\n0.0.3\n--------------------\n\n- Fixed parsing of HTML5 document.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/moriyoshi/lxmlmechanize", "keywords": "", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "lxmlmechanize", "package_url": "https://pypi.org/project/lxmlmechanize/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/lxmlmechanize/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/moriyoshi/lxmlmechanize" }, "release_url": "https://pypi.org/project/lxmlmechanize/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.0.3" }, "last_serial": 1818467, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "e063fb8e1fe6901209222003fa0f7550", "sha256": "7a4d5143a8f30cd7f4bb7550ea1c112668a60fb1c21323b95491b39b6b4ed3de" }, "downloads": -1, "filename": "lxmlmechanize-0.0.0.tar.gz", "has_sig": false, "md5_digest": "e063fb8e1fe6901209222003fa0f7550", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13233, "upload_time": "2013-07-03T08:58:20", "url": "https://files.pythonhosted.org/packages/6d/9c/1959b040379adc2d006b9baedc7a38a4dda06d18fd7b92b052ba45eb7589/lxmlmechanize-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "35f4e667c7e156cbd2dbc717d758e8ca", "sha256": "00b734eb1e7e728b44619f57894f610140ef62cea7c6e2580bfaa0d29f928a11" }, "downloads": -1, "filename": "lxmlmechanize-0.0.1.tar.gz", "has_sig": false, "md5_digest": "35f4e667c7e156cbd2dbc717d758e8ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13442, "upload_time": "2013-11-15T05:53:24", "url": "https://files.pythonhosted.org/packages/2d/fc/f0ddb5c3fd671b1aabb889aae1297ddd1ec6e8de5aac843abe1237bc7f83/lxmlmechanize-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "b224bcbf08ac337e605c8fc0131e1791", "sha256": "9c0ab2d5c905d7f73df59a96c61e7ef9730276c1bbe4518ce5c5ffa80b9cec12" }, "downloads": -1, "filename": "lxmlmechanize-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b224bcbf08ac337e605c8fc0131e1791", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13473, "upload_time": "2013-11-25T11:59:32", "url": "https://files.pythonhosted.org/packages/6e/1e/5baa6c3aeb4cc85453e1b9c4adb305829cd1550113f9f88e20174b6388b8/lxmlmechanize-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "f1f4d63240224e8ba1cdfa04a1866e70", "sha256": "89c3a7c69e66bf7e8f9bb11e1c7d9be8dc6aeb0fe286f91b2d830ac652eeb3b6" }, "downloads": -1, "filename": "lxmlmechanize-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f1f4d63240224e8ba1cdfa04a1866e70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13688, "upload_time": "2015-11-16T09:59:14", "url": "https://files.pythonhosted.org/packages/5a/96/89d4be6a6a121db32076890e74cc3407f419947ead0e39dae64e80e378a5/lxmlmechanize-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f1f4d63240224e8ba1cdfa04a1866e70", "sha256": "89c3a7c69e66bf7e8f9bb11e1c7d9be8dc6aeb0fe286f91b2d830ac652eeb3b6" }, "downloads": -1, "filename": "lxmlmechanize-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f1f4d63240224e8ba1cdfa04a1866e70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13688, "upload_time": "2015-11-16T09:59:14", "url": "https://files.pythonhosted.org/packages/5a/96/89d4be6a6a121db32076890e74cc3407f419947ead0e39dae64e80e378a5/lxmlmechanize-0.0.3.tar.gz" } ] }