hpo-toolkit
A toolkit for working with Human Phenotype Ontology (HPO) and HPO disease annotations in Python.
Example
Loading HPO is as simple as:
import hpotk
store = hpotk.configure_ontology_store()
hpo = store.load_hpo()
Now you have the concepts and the hierarchy of the latest HPO release at your fingertips.
Next, load the HPO disease annotations by running:
from hpotk.annotations.load.hpoa import SimpleHpoaDiseaseLoader
hpoa_path = 'https://github.com/obophenotype/human-phenotype-ontology/releases/download/v2023-10-09/phenotype.hpoa'
loader = SimpleHpoaDiseaseLoader(hpo)
diseases = loader.load(hpoa_path)
assert len(diseases) == 12_468
You got yourself phenotype annotations of 12,468 rare diseases.
Learn more
Find more info in our detailed documentation:
- Stable documentation (last release on
mainbranch) - Latest documentation (bleeding edge, latest commit on
developmentbranch)
Metadata
Release files for hpo-toolkit 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hpo_toolkit-0.8.1.tar.gz | 106.3 kB | Without provenance | Details for hpo_toolkit-0.8.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hpo_toolkit-0.8.1-py3-none-any.whl | Python 3 | none | any | Details for hpo_toolkit-0.8.1-py3-none-any.whl |
Total release size: 217.7 kB
Release files / hpo_toolkit-0.8.1.tar.gz
| Download URL | hpo_toolkit-0.8.1.tar.gz |
|---|---|
| Size | 106.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f44d3601e6860b787f995ff23165595cab528a10917c0d2d7a898d5516b3e5bc
|
|
BLAKE2b-256 checksum How to use checksums |
8fc9e483f1bfc7b126ec04fa6c34d60f9122e752f70e4879147a03e78a0b8a03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / hpo_toolkit-0.8.1-py3-none-any.whl
| Download URL | hpo_toolkit-0.8.1-py3-none-any.whl |
|---|---|
| Size | 111.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32d5588878743c77ddca87703beb6345f757e6418c15d69b7b5f4ab99d972119
|
|
BLAKE2b-256 checksum How to use checksums |
dc9941604bd1991e573238dae2b35adf65c5045bfee1dfbe030435050da01b42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for hpo-toolkit 0.8.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.