< Home - < Back

python-mechanize


Information about the package, python-mechanize, which is shipped with common Linux distributions. The python-mechanize package is designed for, Stateful programmatic web browsing.


Package Name:

python-mechanize

Summary:

Stateful programmatic web browsing

Description:

Stateful programmatic web browsing, after Andy Lester's Perl module WWW::Mechanize. The library is layered: mechanize.Browser (stateful web browser), mechanize.UserAgent (configurable URL opener), plus urllib2 handlers. Features include: ftp:, http: and file: URL schemes, browser history, high-level hyperlink and HTML form support, HTTP cookies, HTTP-EQUIV and Refresh, Referer [sic] header, robots.txt, redirections, proxies, and Basic and Digest HTTP authentication. mechanize's response objects are (lazily-) .seek()able and still work after .close(). 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.

Architecture:

noarch

Version:

0.2.5

Release:

1.el6

Size:

312 k

Repository:

epel

From Repository:

Licence:

BSD or ZPLv2.1



Handy Yum Commands for python-mechanize


Control the python-mechanize package with the following handy commands outlined below.


Command

Description of Command

yum install python-mechanize

This command will install python-mechanize on the server.

yum remove python-mechanize

This command will un-install python-mechanize on the server. When you run this command, you will be asked if you are sure that you want to remove python-mechanize, so you have to manually confirm that you want to do this.

yum -y remove python-mechanize

This command will un-install python-mechanize on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-mechanize when using the -y flag.

yum update python-mechanize

This command will update python-mechanize to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-mechanize, so you have to manually confirm that you want to do this.

yum -y update python-mechanize

This command will update python-mechanize to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-mechanize when using the -y flag.

yum info python-mechanize

This command will show you core information about the python-mechanize package.

yum deplist python-mechanize

This command will show you the dependencies for python-mechanize. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-mechanize

This command will check if there is an update waiting on python-mechanize. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.