Skip to main content

Stateful programmatic web browsing.

Project 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

mechanize-0.1.8.zip (281.4 kB view details)

Uploaded Source

mechanize-0.1.8.tar.gz (248.2 kB view details)

Uploaded Source

Built Distribution

mechanize-0.1.8-py2.5.egg (227.1 kB view details)

Uploaded Source

File details

Details for the file mechanize-0.1.8.zip.

File metadata

  • Download URL: mechanize-0.1.8.zip
  • Upload date:
  • Size: 281.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mechanize-0.1.8.zip
Algorithm Hash digest
SHA256 bb6038d482bf4124d57b984000ea2478d611050a0e655429e12788960d373420
MD5 34e4fcd2cc408d4a711e57b4723b6ff4
BLAKE2b-256 e0d21a20fade39fafd82d73f565c22ccc422a270c76ed1cc0a3b7953cceb8baf

See more details on using hashes here.

File details

Details for the file mechanize-0.1.8.tar.gz.

File metadata

  • Download URL: mechanize-0.1.8.tar.gz
  • Upload date:
  • Size: 248.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mechanize-0.1.8.tar.gz
Algorithm Hash digest
SHA256 072a96a6818a9a6e791d876cb8d19303179e1c0990f2d83a49f78de9d0067b8a
MD5 858a70d518f7a677e7de512105579f8c
BLAKE2b-256 10571f45fa0eddaffb2fd62bebe299fd53a69aa54cbf31a137911326aad3176b

See more details on using hashes here.

File details

Details for the file mechanize-0.1.8-py2.5.egg.

File metadata

File hashes

Hashes for mechanize-0.1.8-py2.5.egg
Algorithm Hash digest
SHA256 ed0eaa3091c2f3f8d47b15907866e37cb992195458d3e120a5cd2995ba9b2c36
MD5 c8052a21c0c743b821d42bdffbbcfc36
BLAKE2b-256 553ec19a9344b93bd25dbe91985f1a77646d0cf28d7a02c719fc2a822d7098ec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page