Skip to content

Installation Guide

cdapython runs on:

python versions >= 3.9

Pip install

Requirements

  • terminal/command line
  • python version >= 3.9 (Install)

*** If you previously installed cdapython in a VM, discard that VM and install in a fresh one. The new cdapython has dependency conflicts with the old version and will not install properly over the older version ***

  1. In your terminal type:
pip install git+https://github.com/CancerDataAggregator/cdapython.git

Terminal/Command line

cdapython is a python package, to run on the command line, start python

python3
and import the cdapython modules:

from cdapython import tables, columns, column_values,  fetch_rows, summary_counts

Interactive notebook

cdapython comes with jupyter notebook installed, and our documentation is all available as jupyter notebooks. To start a notebook server, go to your command line/terminal and type:

jupyter notebook
This will launch an interactive notebook in your browser. Be sure to import the cdapython modules in your first notebook block:

from cdapython import tables, columns, column_values,  fetch_rows, summary_counts