Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install mechanize

How to install mechanize

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install mechanize
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2.5 Available View build log
0.2.4 Available View build log
0.2.3 Available View build log
0.2.2 Available View build log
Windows (64-bit)
0.2.5 Available View build log
0.2.4 Available View build log
0.2.3 Available View build log
0.2.2 Available View build log
Mac OS X (10.5+)
0.2.5 Available View build log
0.2.4 Available View build log
0.2.3 Available View build log
0.2.2 Available View build log
Linux (32-bit)
0.2.5 Available View build log
0.2.4 Available View build log
0.2.3 Available View build log
0.2.2 Available View build log
Linux (64-bit)
0.2.5 Available View build log
0.2.4 Available View build log
0.2.3 Available View build log
0.2.2 Available View build log
 
Author
License
BSD
Imports
Lastest release
version 0.2.5 on Apr 1st, 2011

Stateful programmatic web browsing, after Andy Lester's Perl module WWW::Mechanize.

mechanize.Browser implements the urllib2.OpenerDirector interface. Browser objects have state, including navigation history, HTML form state, cookies, etc. The set of features and URL schemes handled by Browser objects is configurable. The library also provides an API that is mostly compatible with urllib2: your urllib2 program will likely still work if you replace "urllib2" with "mechanize" everywhere.

Features include: ftp:, http: and file: URL schemes, browser history, hyperlink and HTML form support, HTTP cookies, HTTP-EQUIV and Refresh, Referer [sic] header, robots.txt, redirections, proxies, and Basic and Digest HTTP authentication.

Much of the code originally derived from Perl code by Gisle Aas (libwww-perl), Johnny Lee (MSIE Cookie support) and last but not least Andy Lester (WWW::Mechanize). urllib2 was written by Jeremy Hylton.

Subscribe to package updates

Last updated Apr 1st, 2011

Download Stats

Last month:6

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.