This is a Python library containing convenience functions that are specific to the CPG.
In order to install the library in a conda environment, run:
conda install -c cpg cpg-utils
To use the library, import functions like this:
from cpg_utils.cloud import email_from_id_token
_email_string = email_from_id_token(id_token_jwt='TOKEN_STRING')
We use bumpversion
for incrementing the library's semantic version. A new conda package gets published automatically in the cpg
conda channel whenever a version bump commit is merged with the main
branch.