Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 2.09 KB

README.md

File metadata and controls

47 lines (28 loc) · 2.09 KB

nccapy

Python package Test pip install Quality Gate Status Bugs Code Smells Coverage Duplicated Lines (%)

The code in this python package is used in various units taught in the NCCA and in particlar Jon's programming courses

The aim of this repository is to teach not only about python modules and packages but demonstrate other python code and techniques.

Installation

This module is on PyPi so you can install it using pip

pip install nccapy

Modules

Developer notes

To build the package run the following command

python -m pip install build
python -m build

To run the tests use the following command

pytest -v .

for coverage reports use the following command

coverage run --source=src/nccapy -m pytest -v tests && coverage report -m

This will create a dist folder with the package in it. You can then install the package using pip

pip install dist/nccapy-0.0.1-py3-none-any.whl