Skip to main content

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='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

cpg-utils-4.4.4.tar.gz (17.1 kB view details)

Uploaded Source

File details

Details for the file cpg-utils-4.4.4.tar.gz.

File metadata

  • Download URL: cpg-utils-4.4.4.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for cpg-utils-4.4.4.tar.gz
Algorithm Hash digest
SHA256 a2ae0492a6e6a7204a9c62245a844de6dfa1f4a003d61667c65dcc169cba0702
MD5 ab3c868ce2d31ebe02f27f54fff24512
BLAKE2b-256 5aea7d8c01ceca2d2b5102d8b6d4cef5be65ecf7f11a2f5954d5d176f32ea9cb

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page