Grewpy • Python library

⚠️ The previous library described in the book published in 2018 is obsolete. Please refer to the documentation on this page for up-to-date information.


If you don’t already have any Grew-related software or libraries installed, follow steps 1 and 2 on this page.

Test the installation with echo "import grewpy" | python. It should output connected to port: 8888 (or a higher port number if 8888 is already in use.)


  1. opam update && opam upgrade
  2. pip install grewpy --upgrade

The latest version of grewpy_backend is 0.5.1. You can check your version with opam list | grep grewpy

The latest version of grewpy is 0.4.3. You can check your version with pip show grewpy


See grewpy documentation for a detailed documentation of the Python library.


Examples can be found in the examples folder. Click here to download the folder.