mechanize


Namemechanize JSON
Version 0.4.10 PyPI version JSON
download
home_pagehttps://github.com/python-mechanize/mechanize
SummaryStateful, programmatic web browsing
upload_time2024-04-26 01:26:04
maintainerNone
docs_urlNone
authorKovid Goyal
requires_pythonNone
licenseBSD
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            mechanize - Automate interaction with HTTP web servers
##########################################################

|pypi| |build|

.. contents::


Major features
-----------------

Stateful programmatic web browsing in Python

- The browser class `mechanize.Browser` implements the
  interface of `urllib2.OpenerDirector`, so any URL can
  be opened not just `http`.

- Easy HTML form filling.

- Convenient link parsing and following.

- Browser history (`.back()` and `.reload()` methods).

- The `Referer` HTTP header is added properly (optional).

- Automatic observance of `robots.txt <http://www.robotstxt.org/wc/norobots.html>`_.

- Automatic handling of HTTP-Equiv and Refresh.


Installation
-----------------

To install for normal usage:

.. code-block:: bash

    pip3 install mechanize

To install for development:

.. code-block:: bash

    git clone https://github.com/python-mechanize/mechanize.git
    cd mechanize
    pip3 install -e .

To install manually, simply add the `mechanize` sub-directory somewhere on your
`PYTHONPATH`.


Documentation
---------------

See https://mechanize.readthedocs.io/en/latest/

Credits
-----------------

python-mechanize was the creation of John J. Lee. Maintenance was taken over by
Kovid Goyal in 2017.

Much of the code was originally derived from the work of the following people:

- Gisle Aas -- [libwww-perl]

- Jeremy Hylton (and many others) -- [urllib2]

- Andy Lester -- [WWW::Mechanize]

- Johnny Lee (coincidentally-named) -- MSIE CookieJar Perl code from which
  mechanize's support for that is derived.

Also:

- Gary Poster and Benji York at Zope Corporation -- contributed significant
  changes to the HTML forms code

- Ronald Tschalar -- provided help with Netscape cookies

Thanks also to the many people who have contributed bug reports and
patches.

.. |pypi| image:: https://img.shields.io/pypi/v/mechanize.svg?label=version
    :target: https://pypi.python.org/pypi/mechanize
    :alt: Latest version released on PyPi

.. |build| image:: https://dev.azure.com/divok/mechanize/_apis/build/status/python-mechanize.mechanize?branchName=master
    :target: https://dev.azure.com/divok/mechanize/_build/latest?definitionId=3&branchName=master
    :alt: Build status of the master branch

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/python-mechanize/mechanize",
    "name": "mechanize",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Kovid Goyal",
    "author_email": "no@no.no",
    "download_url": "https://files.pythonhosted.org/packages/f5/ce/35d356959be6d8cdd5a3c8b6ea74548281ea9ae71c4d4538c076c4c986a2/mechanize-0.4.10.tar.gz",
    "platform": "any",
    "description": "mechanize - Automate interaction with HTTP web servers\n##########################################################\n\n|pypi| |build|\n\n.. contents::\n\n\nMajor features\n-----------------\n\nStateful programmatic web browsing in Python\n\n- The browser class `mechanize.Browser` implements the\n  interface of `urllib2.OpenerDirector`, so any URL can\n  be opened not just `http`.\n\n- Easy HTML form filling.\n\n- Convenient link parsing and following.\n\n- Browser history (`.back()` and `.reload()` methods).\n\n- The `Referer` HTTP header is added properly (optional).\n\n- Automatic observance of `robots.txt <http://www.robotstxt.org/wc/norobots.html>`_.\n\n- Automatic handling of HTTP-Equiv and Refresh.\n\n\nInstallation\n-----------------\n\nTo install for normal usage:\n\n.. code-block:: bash\n\n    pip3 install mechanize\n\nTo install for development:\n\n.. code-block:: bash\n\n    git clone https://github.com/python-mechanize/mechanize.git\n    cd mechanize\n    pip3 install -e .\n\nTo install manually, simply add the `mechanize` sub-directory somewhere on your\n`PYTHONPATH`.\n\n\nDocumentation\n---------------\n\nSee https://mechanize.readthedocs.io/en/latest/\n\nCredits\n-----------------\n\npython-mechanize was the creation of John J. Lee. Maintenance was taken over by\nKovid Goyal in 2017.\n\nMuch of the code was originally derived from the work of the following people:\n\n- Gisle Aas -- [libwww-perl]\n\n- Jeremy Hylton (and many others) -- [urllib2]\n\n- Andy Lester -- [WWW::Mechanize]\n\n- Johnny Lee (coincidentally-named) -- MSIE CookieJar Perl code from which\n  mechanize's support for that is derived.\n\nAlso:\n\n- Gary Poster and Benji York at Zope Corporation -- contributed significant\n  changes to the HTML forms code\n\n- Ronald Tschalar -- provided help with Netscape cookies\n\nThanks also to the many people who have contributed bug reports and\npatches.\n\n.. |pypi| image:: https://img.shields.io/pypi/v/mechanize.svg?label=version\n    :target: https://pypi.python.org/pypi/mechanize\n    :alt: Latest version released on PyPi\n\n.. |build| image:: https://dev.azure.com/divok/mechanize/_apis/build/status/python-mechanize.mechanize?branchName=master\n    :target: https://dev.azure.com/divok/mechanize/_build/latest?definitionId=3&branchName=master\n    :alt: Build status of the master branch\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Stateful, programmatic web browsing",
    "version": "0.4.10",
    "project_urls": {
        "Homepage": "https://github.com/python-mechanize/mechanize"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5135fabdeabeb9c0d72f0d21b3022a0f003e5c3722f4f80a13a416b06bc2a0a9",
                "md5": "39a75a086fef100e7dd474d1707500d0",
                "sha256": "246e21aa30a74ca608c2a06a922454e699fcb37edc9b79fcbba0c67712c2ec79"
            },
            "downloads": -1,
            "filename": "mechanize-0.4.10-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "39a75a086fef100e7dd474d1707500d0",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 110390,
            "upload_time": "2024-04-26T01:26:02",
            "upload_time_iso_8601": "2024-04-26T01:26:02.292363Z",
            "url": "https://files.pythonhosted.org/packages/51/35/fabdeabeb9c0d72f0d21b3022a0f003e5c3722f4f80a13a416b06bc2a0a9/mechanize-0.4.10-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f5ce35d356959be6d8cdd5a3c8b6ea74548281ea9ae71c4d4538c076c4c986a2",
                "md5": "8ccc66d8b049951d477fb20b204d545f",
                "sha256": "1dea947f9be7ea0ab610f7bbc4a4e36b45d6bfdfceea29ad3d389a88a1957ddf"
            },
            "downloads": -1,
            "filename": "mechanize-0.4.10.tar.gz",
            "has_sig": false,
            "md5_digest": "8ccc66d8b049951d477fb20b204d545f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 218291,
            "upload_time": "2024-04-26T01:26:04",
            "upload_time_iso_8601": "2024-04-26T01:26:04.501995Z",
            "url": "https://files.pythonhosted.org/packages/f5/ce/35d356959be6d8cdd5a3c8b6ea74548281ea9ae71c4d4538c076c4c986a2/mechanize-0.4.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-26 01:26:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "python-mechanize",
    "github_project": "mechanize",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "mechanize"
}
        
Elapsed time: 0.31000s