To download this code, you can utilize the following command:
git clone https://github.com/ianhajra/DeIdentify.gitEnsure this is run in the location you want the DeIdentify folder containing this repository to live.
- Ensure Python and Dependencies are Installed:
Please see Dependencies below for information on what is required.
-
Utilize Python
python deid.py
The following instructions assume that you have Docker installed, and are more intended for anyone doing development on this repository.
After making changes to your code, or to simply run the program, follow these steps to build the Docker image and run the container:
-
Rebuild the Docker Image:
docker build -t deidentify-image .This command creates a new Docker image with your latest code changes.
-
Run the Container:
docker run -v <path_to_directory>/output:/app/output deidentify-image
This program requires that you have Python 3 or later, as well as the pandas and openpyxl libraries installed.
Python 3 must be installed from the online download. The libraries can be installed afterwards, running:
pip install pandas openpyxl