Introduction

Latest Version Supported Versions

PyPy and PyPy3 are also supported (and tested against).

Find MechanicalSoup on Python Package Index (Pypi) and follow the development on GitHub.

Installation

Download and install the latest released version from PyPI:

pip install MechanicalSoup

Download and install the development version from GitHub:

pip install git+https://github.com/MechanicalSoup/MechanicalSoup

Installing from source (installs the version in the current working directory):

git clone https://github.com/MechanicalSoup/MechanicalSoup.git
cd MechanicalSoup
python setup.py install

(In all cases, add --user to the install command to install in the current user’s home directory.)

Example code: https://github.com/MechanicalSoup/MechanicalSoup/tree/master/examples/