Skip to content

wangjild/pythonwhat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner

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.

Installation

pip3 install markdown2
pip3 install numpy
pip3 install pandas
pip3 install matplotlib
pip3 install git+https://github.com/datacamp/pythonwhat

Run tests

# 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 learn-engineering@datacamp.com.

About

Functionality to write Submission Correctness Tests for Python exercises on DataCamp.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Other 0.1%