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.
Install
If you don’t already have any Grew-related software or libraries installed, follow steps 1 and 2 on this page.
opam update
opam install grewpy_backend
pip install grewpy
(pip
may be replaced bypip3
depending on your local installation)
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.)
Upgrade
opam update && opam upgrade
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
Usage
See grewpy documentation for a detailed documentation of the Python library.
Examples
Examples can be found in the examples
folder.
Click here to download the folder.