# MechanicalSoup/MechanicalSoup

A Python library for automating interaction with websites.

Repository: https://github.com/MechanicalSoup/MechanicalSoup
Canonical: https://ross.abutalabs.com/products/mechanicalsoup
Homepage: http://mechanicalsoup.readthedocs.io/en/stable/
Language: Python
License: MIT
License Family: permissive
Topics: python, beautifulsoup, mechanicalsoup, python-library, pypi, requests, web
Last push: 2026-08-04T02:43:34+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 4482, "days_push": 29, "days_rel": 460, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4888, forks 398 (observed 2026-08-28T04:09:01.964168+00:00)

## What it is
A Python library for automating interaction with websites, built on Requests and BeautifulSoup. It handles cookies, redirects, link following, and form submission, but does not execute JavaScript.

## Use cases
- scrape websites with python
- automate form submission
- log in to websites programmatically
- crawl site links without a browser
- fill and submit html forms in python
- automate website interaction without selenium

## When to choose
- you need to automate static websites with forms and cookies
- you want a lightweight alternative to Selenium without a browser
- you prefer a Mechanize-like API on Python 3
- you want to parse pages with BeautifulSoup while managing sessions

## When to avoid
- the target site relies heavily on JavaScript rendering
- you need full browser automation like clicking or screenshots
- you need to bypass anti-bot protections

## Facets
- artifact type: library
- maturity: active
- function: web-scraping, http-client, parser
- domain: web-development, crawlers, developer-tools
- platform: python, cross-platform
- tags: beautifulsoup, requests, form-submission, web-automation, no-javascript, automation

## Member repositories
- MechanicalSoup/MechanicalSoup (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:01.964168+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:12.740910+00:00, confidence not recorded.
  - readme: https://github.com/MechanicalSoup/MechanicalSoup (fetched 2026-08-28T04:09:01.964168+00:00, sha 4f0e764fa669)
  - registry_pypi: https://pypi.org/pypi/mechanicalsoup/json (fetched 2026-08-29T09:00:57.917917+00:00, sha 58f9e2934044)
- Data as of 2026-08-30T08:39:29.467469+00:00.
