Source location - lifeomic/termlink
Prepare an ontology and send it to the Precision Health Cloud.
Termlink is a command line client and library for uploading ontologies to LifeOmic's Precision Health Cloud. Its goal is to make uploading standardized ontologies easier and to provide utilities for uploading custom ontologies. It provides a simple command line interface for creating standard ontologies and a Python SDK for building integrations with custom ontologies.
Download the following tools:
Pull the latest version of TermLink from Docker Hub:
docker pull lifeomic/termlink
docker run lifeomic/termlink --help
docker run lifeomic/termlink ... | lo ontologies import <project>
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
The following tools are required to run TermLink:
The following steps will guide you through installing the project locally.
git repository onto your local machine.
git clone email@example.com:lifeomic/termlink.git && cd ./termlink
Using Python 3, create a
virtualenv and then activate it.
python3 -m venv venv && source venv/bin/activate
Note: Your Python binary may be under a different name.
Check that your local version of Python is at least version 3.7 by running
Once you have verified your version of Python is correct, run the following to download all dependencies.
pip install -r requirements.txt
pip install -r requirements-dev.txt
You now have everything you need to start developing on Termlink.
This project uses the Python
Run unit tests with
Test coverage is enforced using the
coverage.py module. Inspect the test coverage with:
TermLink is published on:
- PyPI: Python package.
- Docker Hub: Packaged runtime environment.
- GitHub: Python package and source files.
Documentation is published on GitHub Pages.
To publish a new version run the following command:
This will trigger the deployment pipeline on
- Docker: "Build, Ship, and Run Any App, Anywhere."
- Python 3: "Python is a programming language that lets you work quickly and integrate systems more effectively."
- Requests: "Requests is an elegant and simple HTTP library for Python, built for human beings."
The following guidelines are provided on the SemVer website:
Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards-compatible manner, and
- PATCH version when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
- Taylor Steinberg - Initial work - tdstein
See also the list of contributors who participated in this project.
This project is licensed under the MIT - see the LICENSE file for details.