Skip to main content

Django app to parse, store, and update HPO terms

Project description

=============================
Django HPO Terms
=============================

.. image:: https://badge.fury.io/py/django-hpo-terms.svg
:target: https://badge.fury.io/py/django-hpo-terms

.. image:: https://travis-ci.org/chopdgd/django-hpo-terms.svg?branch=develop
:target: https://travis-ci.org/chopdgd/django-hpo-terms

.. image:: https://codecov.io/gh/chopdgd/django-hpo-terms/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/chopdgd/django-hpo-terms

.. image:: https://pyup.io/repos/github/chopdgd/django-hpo-terms/shield.svg
:target: https://pyup.io/repos/github/chopdgd/django-hpo-terms/
:alt: Updates

.. image:: https://pyup.io/repos/github/chopdgd/django-hpo-terms/python-3-shield.svg
:target: https://pyup.io/repos/github/chopdgd/django-hpo-terms/
:alt: Python 3

Django app to parse, store, and update HPO terms

Documentation
-------------

The full documentation is at https://django-hpo-terms.readthedocs.io.

Quickstart
----------

Install Django HPO Terms::

pip install django-hpo-terms

Add it to your `INSTALLED_APPS` (along with DRF and django-filters):

.. code-block:: python

INSTALLED_APPS = (
...
'rest_framework',
'django_filters',
...
'hpo_terms',
'genome',
...
)

Add Django HPO Terms's URL patterns:

.. code-block:: python

from hpo_terms import urls as hpo_terms_urls


urlpatterns = [
...
url(r'^', include(hpo_terms_urls, namespace='hpo_terms')),
...
]

Features
--------

* TODO

Running Tests
-------------

Does the code actually work?

::

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

Credits
-------

Tools used in rendering this package:

* Cookiecutter_
* `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.1.0 (2017-12-29)
++++++++++++++++++

* First release on PyPI.
* Initial models and REST API.

0.2.0 (2017-12-31)
++++++++++++++++++

`Full Changelog <https://github.com/chopdgd/django-hpo-terms/compare/v0.1.0...v0.2.0>`_

* Added syncing of database with online HPO resources.

0.3.0 (2017-01-02)
++++++++++++++++++

`Full Changelog <https://github.com/chopdgd/django-hpo-terms/compare/v0.2.0...v0.3.0>`_

* Added Disease genes model and REST API.
* Synced Disease genes from online HPO resource.

0.3.1 (2017-01-04)
++++++++++++++++++

`Full Changelog <https://github.com/chopdgd/django-hpo-terms/compare/v0.3.0...v0.3.1>`_

* Fixed minor bugs
* Added better test coverage for hpo_sync.

0.4.0 (2017-01-05)
++++++++++++++++++

`Full Changelog <https://github.com/chopdgd/django-hpo-terms/compare/v0.3.1...v0.4.0>`_

* Improved REST API filters.

0.4.1 (2017-01-09)
++++++++++++++++++

`Full Changelog <https://github.com/chopdgd/django-hpo-terms/compare/v0.4.0...v0.4.1>`_

* Fixed issues with migrations.

0.4.2 (2017-01-12)
++++++++++++++++++

`Full Changelog <https://github.com/chopdgd/django-hpo-terms/compare/v0.4.1...v0.4.2>`_

* Fixed route names for SimpleRouter.

0.5.0 (2017-02-09)
++++++++++++++++++

`Full Changelog <https://github.com/chopdgd/django-hpo-terms/compare/v0.4.2...v0.5.0>`_

* Add gene symbol filter for diseases API
* Added HPO term label to disease API
* updated requirements to the latest


0.6.0 (2017-03-30)
++++++++++++++++++

`Full Changelog <https://github.com/chopdgd/django-hpo-terms/compare/v0.5.0...v0.6.0>`_

* updated some dependencies

0.7.0 (2017-04-04)
++++++++++++++++++

`Full Changelog <https://github.com/chopdgd/django-hpo-terms/compare/v0.6.0...v0.7.0>`_

* Added support for GraphQL

0.8.0 (2017-04-07)
++++++++++++++++++

`Full Changelog <https://github.com/chopdgd/django-hpo-terms/compare/v0.7.0...v0.8.0>`_

* Added support for Django 2.0 and Python 3.6
* Dropped support for Django < 1.11 and Python 2.7, 3.3, 3.4

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-hpo-terms-0.8.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

django_hpo_terms-0.8.0-py2.py3-none-any.whl (19.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-hpo-terms-0.8.0.tar.gz.

File metadata

File hashes

Hashes for django-hpo-terms-0.8.0.tar.gz
Algorithm Hash digest
SHA256 f9611e513fc8cbd0836f71b6e7adfc5faf34a4634bb62947b7fbf0fa91609903
MD5 3523cebae3bd17421a19584094d6879a
BLAKE2b-256 cb1017038135a7f8b734720f9f219975d667a37f17d827c837650c57a7d992df

See more details on using hashes here.

File details

Details for the file django_hpo_terms-0.8.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_hpo_terms-0.8.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 184767a99a25ac0beaad4a51d10ce86b7b709ca695fcc7815b3b7759b3d36af7
MD5 cd63507a32dc71ac4b32e7927ea19c95
BLAKE2b-256 6d5a9e71727eb00544a2c0dce1d7451e64267e1567a0e586cd4727df895d9ae2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page