Skip to content

noahgift/myrepo

Repository files navigation

myrepo

CircleCI

This is an example repo of a how to create a Data Science focused Python project. There is a screencast on this project setup here:

Data Science Build Project

This video does a full breakdown of how to use and create a Makefile:

How to use Pylint, Nbval and Coverage to test Jupyter Notebooks

A few things to do with this project:

  • install software: make install
  • test code: make test
  • lint code: make lint
  • run commandline tool:
./cli.py --name john 
john-apple
  • run jupyter notebook:
jupyter notebook notebook.ipynb
  • test jupyter notebook:
python -m pytest --nbval notebook.ipynb

Further Information on this topic can be found here: https://github.com/noahgift/functional_intro_to_python