The pythonwhat
package provides rich functionality to write Submission Correctness Tests for interactive Python exercises on the DataCamp platform. DataCamp operates with Python 3.
For a detailed guide on how to use pythonwhat
, head over to the online documentation. Before, all documentation was on the wiki, but things are steadily being moved to the readthedocs format.
Visit DataCamp Teach to create your own DataCamp Python course, powered by pythonwhat
.
pip3 install markdown2
pip3 install numpy
pip3 install pandas
pip3 install matplotlib
pip3 install git+https://github.com/datacamp/pythonwhat
# install python backend (private) + required packages
sudo pip3 install boto3
sudo pip3 install bs4
sudo pip3 install h5py
cd path/to/pythonbackend
python3 setup.py install
cd /path/to/pythonwhat
python3 setup.py install
cd tests
python3 run_all.py
To disable deprecation warnings: $ export PYTHONWARNINGS="ignore"
For more details, questions and suggestions, contact [email protected].