Skip to content

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


Learn DevOps and CI/CD for Python: GitHub: From Zero to Pull Request (Coursera) · AI Debugging and Test-Driven Fixes (Coursera) · Data Engineering with Python and Linux program (edX)

More courses from Noah Gift and Pragmatic AI Labs.