Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lifeomic/phc-sdk-py
The phc-sdk-py is a developer kit for interfacing with the PHC API on Python 3.8 and above.
https://github.com/lifeomic/phc-sdk-py
developer-kit jupyter-notebook pypi python sdk team-clinical-intelligence
Last synced: 5 days ago
JSON representation
The phc-sdk-py is a developer kit for interfacing with the PHC API on Python 3.8 and above.
- Host: GitHub
- URL: https://github.com/lifeomic/phc-sdk-py
- Owner: lifeomic
- License: mit
- Created: 2019-10-09T13:53:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T04:01:37.000Z (7 months ago)
- Last Synced: 2024-04-12T12:01:32.158Z (7 months ago)
- Topics: developer-kit, jupyter-notebook, pypi, python, sdk, team-clinical-intelligence
- Language: Python
- Homepage: https://lifeomic.github.io/phc-sdk-py/index.html
- Size: 36.9 MB
- Stars: 1
- Watchers: 20
- Forks: 2
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# PHC SDK for Python
The phc-sdk-py is a developer kit for interfacing with the [PHC API](https://api.docs.lifeomic.com/) on Python 3.7 and above.
## Project Status
![GitHub](https://img.shields.io/github/license/lifeomic/phc-sdk-py.svg?style=for-the-badge)
![PyPI status](https://img.shields.io/pypi/status/phc.svg?style=for-the-badge)
![Downloads](https://img.shields.io/pypi/dw/phc?style=for-the-badge)
![GitHub release](https://img.shields.io/github/release/lifeomic/phc-sdk-py.svg?style=for-the-badge)
[![Docs](https://img.shields.io/badge/DOCS-PASSING-green?style=for-the-badge)](https://lifeomic.github.io/phc-sdk-py/)
[![User Guides](https://img.shields.io/badge/DOCS-PASSING-green?style=for-the-badge)](https://devcenter.docs.lifeomic.com/guides/python-sdk)## Getting Started
### Dependencies
- [Python 3](https://www.python.org/download/releases/3.0/) version >= 3.8
### Getting the Source
This project is [hosted on GitHub](https://github.com/lifeomic/phc-sdk-py).
### Usage
A `Session` needs to be created first that stores the token and account information needed to access the PHC API. One can currently using API Key tokens generated from the PHC Account, or OAuth tokens generated using the [CLI](https://github.com/lifeomic/cli).
```python
from phc import Sessionsession = Session(token=, account="myaccount")
```Once a `Session` is created, you can then access the different parts of the platform.
```python
from phc.services import Accountsaccounts = Accounts(session)
myaccounts = accounts.get_list()
```## Contributing
We encourage public contributions! Please review [CONTRIBUTING.md](CONTRIBUTING.md) and [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) for details on our code of conduct and development process.
## License
This project is licensed under the MIT License - see [LICENSE](LICENSE) file for details.
## Authors
See the list of [contributors](https://github.com/lifeomic/phc-sdk-py/contributors) who participate in this project.
## Acknowledgements
This project is built with the following:
- [aiohttp](https://aiohttp.readthedocs.io/en/stable/) - Asynchronous HTTP Client/Server for asyncio and Python.