Apocrypha

mechanize

Stateful programmatic web browsing in Python

mechanize is a Python module for static programmatic web browsing in Python, after Andy Lester's Perl module WWW::Mechanize. With the Browser subclass any url can be opened - not just http - and UserAgentBase offers easy dynamic configuration of user-agent features like protocol, cookie, redirection and robots.txt handling. Other functionalities include easy HTML form filling using ClientForm interface, convenient link parsing and following, browser history with .back() and .reload() methods and automatic handling of HTTP-Equiv and Refresh.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 0.4.10 1 16 h details ›

Versions & arches

VersionOverlay amd64arm64x86alphaarmppcsparcx64-macos Committed
0.4.10 gentoo amd64 stable arm64 stable x86 stable alpha testing arm testing ppc testing sparc testing x64-macos testing view · download · history ↗

Use flags of 0.4.10

  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
4 expansion flags (python targets, ABIs, cpu flags…)
  • python_targets_python3_12
  • python_targets_python3_13
  • python_targets_python3_14
  • python_targets_python3_15

Runtime dependencies of 0.4.10

show 13 lines