cowpoke is a package of Python build, extract, mapping, statistics, and analysis routines applicable to knowledge graphs, specifically KBpedia. The cowpoke package was developed as part of a 75-part series of electronic notebooks entitled Cooking with Python and KBpedia.
The electronic notebooks, which begin with installment #14, may be obtained from the Jupyter Notebook repository. There is much explanatory material in those notebooks regarding how the cowpoke code was constructed and what it does.
Besides downloading and building the package locally, you may install the cowpoke package directly:
pip install cowpoke