Skip to main content

hpo-toolkit

PyPI - Python Version PyPi downloads Build status GitHub release

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:

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)

Source distribution for hpo-toolkit 0.8.1
File Size Uploaded
hpo_toolkit-0.8.1.tar.gz 106.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hpo-toolkit 0.8.1
File Interpreter ABI Platform
hpo_toolkit-0.8.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.8.1 This release

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page