Grewpy • Python library
⚠️ The previous library described in the book published in 2018 is now obsolete.
Install
If you do not have any software or libraries related to Grew installed, please follow steps 1 and 2 on this page and run the commands:
opam remote add grew "https://opam.grew.fr"opam updateopam install grewpy_backendpip install grewpy(pip3may be used instead ofpipdepending on your local installation).
To test the installation, run the command echo "import grewpy" | python.
The expected output is connected to port: … (The port number is selected dynamically).
Upgrade
opam update && opam upgrade grewpy_backendpip install grewpy --upgrade
The current version of grewpy_backend is 0.6.1. You can verify your version by running opam list | grep grewpy.
The current version of grewpy is 0.7.1. You can verify your version by running pip show grewpy.
View How to to upgrade to grewpy 0.7.
Usage
The library is in developement and the documentation is not complete. Feel free to raise an issue for any questions.
-
A Grewpy Tutorial is available with a few examples.
-
You can also refer to the automatically generated grewpy documentation for detailed information on the Python library.
-
Some more examples can be found in the
examplesfolder. Click here to download the folder.




