BSD Ports

www/py-mechanize 0.4.10p2 OpenBSD

stateful programmatic web browsing module

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
www, lang/python

Description

Stateful programmatic web browsing in Python, 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().

In the other systems

The newest version among them is 0.4.10, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDwww/py-mechanize0.4.10p2 newestno data-The OpenBSD ports mailing-list <[email protected]>-
FreeBSDwww/py-mechanize0.4.10_1 newestnone known-[email protected]-
NetBSDwww/py-mechanize0.4.10nb1 newestnone known-[email protected]2026-10-16
DragonFlywww/py-mechanize0.4.10_1 newestnone known-[email protected]-
MidnightBSDwww/py-mechanize0.4.8_1no data-[email protected]-
HardenedBSDwww/py-mechanize0.4.10_1 newestno data-[email protected]-
GhostBSDwww/py-mechanize0.4.10_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add py3-mechanize

From the ports tree:

cd /usr/ports/www/py-mechanize && make install

Dependencies

Build dependencies 5
Run dependencies 3