Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Python API Setup

Shrew can be installed as a Python package.

Installation

From Source

Ensure you have Rust and Cargo installed, then run in the root of the repo:

pip install .

From PyPI (Coming Soon)

pip install shrew

Verification

Check that the installation was successful:

import shrew
print(shrew.__version__)