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.
Metadata
Release files for mechanize 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mechanize-0.2.5.zip | 445.3 kB | Without provenance | Details | |
| mechanize-0.2.5.tar.gz | 383.9 kB | Without provenance | Details |
Release files / mechanize-0.2.5.zip
| Download URL | mechanize-0.2.5.zip |
|---|---|
| Size | 445.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84b9d9dfe34a039dab75adf33e226631f29a5267a0fdfa99a8ff035a021507f4
|
|
BLAKE2b-256 checksum How to use checksums |
cafdedbcc1abd5bbfc0e19fb3a8d3eebfd11d7d1ce9c8f24c0f54e8db09956b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mechanize-0.2.5.tar.gz
| Download URL | mechanize-0.2.5.tar.gz |
|---|---|
| Size | 383.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e67b20d107b30c00ad814891a095048c35d9d8cb9541801cebe85684cc84766
|
|
BLAKE2b-256 checksum How to use checksums |
32bcd5b44fe4a3b5079f035240a7c76bd0c71a60c6082f4bfcb1c7585604aa35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mechanize 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.