This is the material for the PHUSE SDE Event regarding the use of Python for a couple of scenarios that can apply to clinical research. It is not intended as an introduction
We recommend that you use Visual Studio Code as a client for the Workbooks
- Install the Python Extension
- Clone the project using git
git clone https://github.com/phuse-org/phuse-python-sde-sep2021
- Install Python
- Windows - https://www.python.org/downloads/windows/ -> Windows Installer (64bit)
- OSX - Install using homebrew (https://brew.sh/) ->
brew install python
- Linux - Follow your packaging environment guide (eg apt)
- Install Poetry (a python environment management tool)
pip install --user poetry
- Install the dependencies
poetry install
- Create a file called
.env
and in it put the following (replace<token>
with your CDISC Library Token)CDISC_LIBRARY_API_TOKEN=<token>
- Open the project
- Using Visual Studio Code: Open the folder using Visual Studio Code and then open Introduction
- Using Jupyter: start the Jupyter Lab Shell by running the following:
- Shell:
jupyter lab
- Batch:
start.bat
- Shell: