Library of convenience functions specific to the CPG
Project description
cpg-utils
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.
Contents
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cpg_utils-5.5.0.tar.gz.
File metadata
- Download URL: cpg_utils-5.5.0.tar.gz
- Upload date:
- Size: 43.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
546bdb23adac76d5c3c75adea529d5ac21f29bfaac18994164ce76a9f1069110
|
|
| MD5 |
2ff11b9c031086357a39d0b1044464a2
|
|
| BLAKE2b-256 |
5a5f70f6f40ddbb5f81d292d2f9f55e518c02ef7fb4d72fa93f42e6b32ae6d9b
|
Provenance
The following attestation bundles were made for cpg_utils-5.5.0.tar.gz:
Publisher:
package.yaml on populationgenomics/cpg-utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cpg_utils-5.5.0.tar.gz -
Subject digest:
546bdb23adac76d5c3c75adea529d5ac21f29bfaac18994164ce76a9f1069110 - Sigstore transparency entry: 844277779
- Sigstore integration time:
-
Permalink:
populationgenomics/cpg-utils@fdfe341f26234f6ab9bd93c1a79a92464300b474 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/populationgenomics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yaml@fdfe341f26234f6ab9bd93c1a79a92464300b474 -
Trigger Event:
push
-
Statement type: