Skip to main content

Django Phenotype Ontologies

https://badge.fury.io/py/django-phenotype-ontologies.svg https://travis-ci.org/chopdgd/django-phenotype-ontologies.svg?branch=develop https://codecov.io/gh/chopdgd/django-phenotype-ontologies/branch/develop/graph/badge.svg Updates Python 3

Django app to parse/load phenotype ontologies (OncoTree, HPO, MONDO, etc)

Documentation

The full documentation is at https://django-phenotype-ontologies.readthedocs.io.

Quickstart

Install Django Phenotype Ontologies:

pip install django-phenotype-ontologies

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'phenotype_ontologies',
    ...
)

Add Django Phenotype Ontologies’s URL patterns:

from phenotype_ontologies import urls as phenotype_ontologies_urls


urlpatterns = [
    ...
    url(r'^', include(phenotype_ontologies_urls, namespace='phenotype_ontologies')),
    ...
]

Features

  • syncs OBO from MONDO, HPO, and NCIT (OncoTree)

  • REST API to interact with models

  • GraphQL Nodes to be incorporated to existing GraphQL setups with graphene_django

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

History

0.1.0 (2018-04-10)

  • Models for Phenotype Ontologies

  • REST API

  • GraphQL Nodes

  • Sync methods for PURL of MONDO, HPO, NCIT

0.1.1 (2018-04-10)

0.1.1 Changelog

  • Updated sync to sync_ontology to make it more descriptive

0.1.2 (2018-04-10)

0.1.2 Changelog

  • Added better support for MONDO. A few oddities were causing errors w/ pronto.

0.1.3 (2018-04-18)

0.1.3 Changelog

  • Updated 3rd party libs

0.1.4 (2018-05-16)

0.1.4 Changelog

  • Updated setup.py to read from requirements.txt

0.2.0 (2018-06-01)

0.2.0 Changelog

  • Removed support for GraphQL

0.2.1 (2018-07-27)

0.2.1 Changelog

  • Updated NCIT to be OncoTree - since we are using the onco tree specific ontology

0.2.2 (2018-08-13)

0.2.2 Changelog

  • Updated 3rd party requirements. Some requirements had changed so it was causing failures

0.2.3 (2018-10-29)

0.2.3 Changelog

  • Updated 3rd party requirements.

0.2.4 (2018-11-27)

0.2.4 Changelog

  • Updated 3rd party requirements.

0.2.5 (2019-02-08)

0.2.5 Changelog

  • Updated 3rd party requirements.

  • Updated tests to use py.test fixtures

0.2.6 (2019-04-10)

0.2.6 Changelog

  • Updated 3rd party requirements.

  • Updated travis to use xenial distribution. Django 2.1 dropped support for SQLite < 3.8.3

0.2.7 (2019-05-31)

0.2.7 Changelog

  • Updated package to use latest cookiecutter template

0.2.8 (2019-07-26)

0.2.8 Changelog

  • Updated 3rd party requirements.

0.2.9 (2019-08-09)

0.2.9 Changelog

  • Updated 3rd party requirements.

0.2.10 (2019-09-09)

0.2.10 Changelog

  • Updated 3rd party requirements.

1.0.0 (2019-11-01)

1.0.0 Changelog

  • First production release

1.0.1 (2019-11-01)

1.0.1 Changelog

  • pronto > v1.0.0 is not compatible

1.1.0 (2019-11-26)

1.1.0 Changelog

  • Updated dependencies

Metadata

Release files for django-phenotype-ontologies 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-phenotype-ontologies 1.1.0
File Size Uploaded Provenance Actions
django-phenotype-ontologies-1.1.0.tar.gz 13.6 kB Without provenance Details for django-phenotype-ontologies-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-phenotype-ontologies 1.1.0
File Interpreter ABI Platform Actions
django_phenotype_ontologies-1.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_phenotype_ontologies-1.1.0-py2.py3-none-any.whl

Total release size: 28.3 kB

Release files / django-phenotype-ontologies-1.1.0.tar.gz

Download URL django-phenotype-ontologies-1.1.0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a8815348fe355dd019f71a3bd3825aab3031bedb05b7d3304556b4faf7da9dd4
BLAKE2b-256 checksum
How to use checksums
f98e6e4b441c5c1be72b48e9f1cd2db3878644dfe8737af7a390a3e892e75e83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.9

Release files / django_phenotype_ontologies-1.1.0-py2.py3-none-any.whl

Download URL django_phenotype_ontologies-1.1.0-py2.py3-none-any.whl
Size 14.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
26b9821809485818d48b1f9b08abc4d45beab0fe3e666a6c3a2f5fc0d312fbb7
BLAKE2b-256 checksum
How to use checksums
9fac33e4a1c55ecd2915483545db7e317458274225d6bdf176f91170e4f2371c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.9

Security for django-phenotype-ontologies 1.1.0

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.

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