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 update
opam install grewpy_backend
pip install grewpy
(pip3
may be used instead ofpip
depending 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_backend
pip install grewpy --upgrade
The current version of grewpy_backend
is 0.5.4. You can verify your version by running opam list | grep grewpy
.
The current version of grewpy
is 0.6.0. You can verify your version by running pip show grewpy
.
View How to to upgrade to grewpy 0.6.
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
examples
folder. Click here to download the folder.