{"id":19732251,"url":"https://github.com/lifeomic/phc-sdk-py","last_synced_at":"2025-07-29T02:32:12.106Z","repository":{"id":35155512,"uuid":"213932204","full_name":"lifeomic/phc-sdk-py","owner":"lifeomic","description":"The phc-sdk-py is a developer kit for interfacing with the PHC API on Python 3.8 and above.","archived":false,"fork":false,"pushed_at":"2024-04-12T04:01:37.000Z","size":38739,"stargazers_count":1,"open_issues_count":11,"forks_count":2,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-04-12T12:01:32.158Z","etag":null,"topics":["developer-kit","jupyter-notebook","pypi","python","sdk","team-clinical-intelligence"],"latest_commit_sha":null,"homepage":"https://lifeomic.github.io/phc-sdk-py/index.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lifeomic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-10-09T13:53:55.000Z","updated_at":"2024-04-15T16:04:47.458Z","dependencies_parsed_at":"2023-11-15T02:26:03.319Z","dependency_job_id":"8b60835d-786d-498c-9d03-132bea4a93a9","html_url":"https://github.com/lifeomic/phc-sdk-py","commit_stats":{"total_commits":341,"total_committers":21,"mean_commits":"16.238095238095237","dds":0.5131964809384164,"last_synced_commit":"a001daa65e498c4c58a5c6fd9d3b96a7b30e5d18"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeomic%2Fphc-sdk-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeomic%2Fphc-sdk-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeomic%2Fphc-sdk-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeomic%2Fphc-sdk-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lifeomic","download_url":"https://codeload.github.com/lifeomic/phc-sdk-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227971901,"owners_count":17849421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["developer-kit","jupyter-notebook","pypi","python","sdk","team-clinical-intelligence"],"created_at":"2024-11-12T00:25:26.633Z","updated_at":"2025-07-29T02:32:12.084Z","avatar_url":"https://github.com/lifeomic.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHC SDK for Python\n\nThe phc-sdk-py is a developer kit for interfacing with the\n[PHC API](https://api.docs.lifeomic.com/) on Python 3.7 and above.\n\n## Project Status\n\n![GitHub](https://img.shields.io/github/license/lifeomic/phc-sdk-py.svg?style=for-the-badge)\n![PyPI status](https://img.shields.io/pypi/status/phc.svg?style=for-the-badge)\n![Downloads](https://img.shields.io/pypi/dw/phc?style=for-the-badge)\n![GitHub release](https://img.shields.io/github/release/lifeomic/phc-sdk-py.svg?style=for-the-badge)\n[![Docs](https://img.shields.io/badge/DOCS-PASSING-green?style=for-the-badge)](https://lifeomic.github.io/phc-sdk-py/)\n[![User Guides](https://img.shields.io/badge/DOCS-PASSING-green?style=for-the-badge)](https://devcenter.docs.lifeomic.com/guides/python-sdk)\n\n## Getting Started\n\n### Dependencies\n\n- [Python 3](https://www.python.org/download/releases/3.0/) version \u003e= 3.9\n\n### Getting the Source\n\nThis project is [hosted on GitHub](https://github.com/lifeomic/phc-sdk-py).\n\n### Usage\n\nA `Session` needs to be created first that stores the token and account\ninformation needed to access the PHC API. One can currently using API Key tokens\ngenerated from the PHC Account, or OAuth tokens generated using the\n[CLI](https://github.com/lifeomic/cli).\n\n```python\nfrom phc import Session\n\nsession = Session(token=\u003cTOKEN VALUE\u003e, account=\"myaccount\")\n```\n\nOnce a `Session` is created, you can then access the different parts of the\nplatform.\n\n```python\nfrom phc.services import Accounts\n\naccounts = Accounts(session)\nmyaccounts = accounts.get_list()\n```\n\n## Contributing\n\nWe encourage public contributions! Please review\n[CONTRIBUTING.md](CONTRIBUTING.md) and [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)\nfor details on our code of conduct and development process.\n\n## License\n\nThis project is licensed under the MIT License - see [LICENSE](LICENSE) file for\ndetails.\n\n## Authors\n\nSee the list of\n[contributors](https://github.com/lifeomic/phc-sdk-py/contributors) who\nparticipate in this project.\n\n## Acknowledgements\n\nThis project is built with the following:\n\n- [aiohttp](https://aiohttp.readthedocs.io/en/stable/) - Asynchronous HTTP\n  Client/Server for asyncio and Python.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeomic%2Fphc-sdk-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flifeomic%2Fphc-sdk-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeomic%2Fphc-sdk-py/lists"}