Skip to main content

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

Metadata

Release files for opsb-pyloopkit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opsb-pyloopkit 0.1.0
File Size Uploaded
opsb-pyloopkit-0.1.0.tar.gz 3.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for opsb-pyloopkit 0.1.0
File Interpreter ABI Platform
opsb_pyloopkit-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 MB

Release files / opsb-pyloopkit-0.1.0.tar.gz

Download URL opsb-pyloopkit-0.1.0.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
93f6d9a38ab7e7cfff0a7b3a5714e298dd82b8370cba57e822bbfdfad372ba65
BLAKE2b-256 checksum
How to use checksums
ff50b3c00b711f22c26abaf3107dd2842c2e0d95d0957e4f6b95acc4c7348126
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.9.13 Darwin/21.5.0

Release files / opsb_pyloopkit-0.1.0-py3-none-any.whl

Download URL opsb_pyloopkit-0.1.0-py3-none-any.whl
Size 3.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1c3871c4d9283c2961ce57fcb8c59cbc407f480ccb1773e792d900bbf8b5dc1c
BLAKE2b-256 checksum
How to use checksums
178a8c4a3bcd9cc6b920417273d78494a6c0d1733798dcb183e13f912f8ab0c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.9.13 Darwin/21.5.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page