# 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:
```bash
conda install -c cpg cpg-utils
```
To use the library, import functions like this:
```python
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
- [Methods to facilitate cloud computing](documentation/cloud.md)
- [Helper functions for Hail Batch jobs](documentation/hail_batch.md)
- [Cloning git repositories inside Hail Batch jobs](documentation/git.md)
Raw data
{
"_id": null,
"home_page": "https://github.com/populationgenomics/cpg-utils",
"name": "cpg-utils",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "bioinformatics",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/c9/7b/696fb819e71f20ecfcdc77336c148b74e6427eab61f47ab51a6d91049efb/cpg_utils-5.4.1.tar.gz",
"platform": null,
"description": "# cpg-utils\n\nThis is a Python library containing convenience functions that are specific to the CPG.\n\nIn order to install the library in a conda environment, run:\n\n```bash\nconda install -c cpg cpg-utils\n```\n\nTo use the library, import functions like this:\n\n```python\nfrom cpg_utils.cloud import email_from_id_token\n\n_email_string = email_from_id_token(id_token_jwt='TOKEN_STRING')\n```\n\nWe 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.\n\n\n## Contents\n\n- [Methods to facilitate cloud computing](documentation/cloud.md)\n- [Helper functions for Hail Batch jobs](documentation/hail_batch.md)\n- [Cloning git repositories inside Hail Batch jobs](documentation/git.md)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Library of convenience functions specific to the CPG",
"version": "5.4.1",
"project_urls": {
"Homepage": "https://github.com/populationgenomics/cpg-utils"
},
"split_keywords": [
"bioinformatics"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "c97b696fb819e71f20ecfcdc77336c148b74e6427eab61f47ab51a6d91049efb",
"md5": "4eabf5bb5ba0e183f5cdfda2a6137364",
"sha256": "9feffca1817b0c66fabf9111b190031ae0a3f5a2d6f3dcc686134e247e872fe6"
},
"downloads": -1,
"filename": "cpg_utils-5.4.1.tar.gz",
"has_sig": false,
"md5_digest": "4eabf5bb5ba0e183f5cdfda2a6137364",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 43540,
"upload_time": "2025-07-17T07:18:03",
"upload_time_iso_8601": "2025-07-17T07:18:03.744674Z",
"url": "https://files.pythonhosted.org/packages/c9/7b/696fb819e71f20ecfcdc77336c148b74e6427eab61f47ab51a6d91049efb/cpg_utils-5.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-17 07:18:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "populationgenomics",
"github_project": "cpg-utils",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "cpg-utils"
}