Skip to content

tidepool-org/PyLoopKit

Repository files navigation

PyLoopKit

A set of Python tools for building closed-loop insulin delivery apps (Python port of LoopKit)

Link to Tidepool Loop repository version used for algorithm

Link of Tidepool LoopKit repository version used for algorithm

To use this project

Please review the documentation for usage instructions, input data requirements, and other important details.

To recreate the Virtual Environment

  1. This environment was developed with Anaconda. You'll need to install Miniconda or Anaconda for your platform.
  2. In a terminal, navigate to the directory where the environment.yml is located (likely in PyLoopKit/pyloopkit folder).
  3. Run conda env create; this will download all of the package dependencies and install them in a virtual environment named py-loop. PLEASE NOTE: this may take up to 30 minutes to complete.

To use the Virtual Environment

In Bash run source activate py-loop, or in the Anaconda Prompt run conda activate py-loop to start the environment.

Run deactivate to stop the environment.

To create the PyLoopKit package

If you want to install a version of the PyLoopKit package based on the PyLoopKit on your local machine, run python3 setup.py install within your PyLoopKit repo to call the setup script and install the package. You'll likely want to do this within the py-loop environment.

Running the unittests

To run PyLoopKit's unit tests, run python3 -m unittest discover within your PyLoopKit repo

About

A set of Python tools for building closed-loop insulin delivery apps (Python port of LoopKit)

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published