{"id":22141233,"url":"https://github.com/hetio/hetnetpy","last_synced_at":"2025-03-17T14:13:41.096Z","repository":{"id":15948589,"uuid":"18691059","full_name":"hetio/hetnetpy","owner":"hetio","description":"Hetnets in Python (relocated from dhimmel/hetio)","archived":false,"fork":false,"pushed_at":"2023-08-04T18:55:02.000Z","size":817,"stargazers_count":94,"open_issues_count":5,"forks_count":27,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-02-18T08:07:53.708Z","etag":null,"topics":["edge-prediction","graph","heterogeneous-network","hetnet","python","rephetio"],"latest_commit_sha":null,"homepage":"https://het.io/software","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hetio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-BSD.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2014-04-11T22:54:31.000Z","updated_at":"2025-02-07T04:43:17.000Z","dependencies_parsed_at":"2023-02-16T19:16:10.783Z","dependency_job_id":"94763ca4-3481-47ef-b6f9-2c97d51ad061","html_url":"https://github.com/hetio/hetnetpy","commit_stats":{"total_commits":199,"total_committers":6,"mean_commits":"33.166666666666664","dds":0.085427135678392,"last_synced_commit":"8bf8ccb620292757d96838c3139bbb14cbce60de"},"previous_names":["hetio/hetio"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetio%2Fhetnetpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetio%2Fhetnetpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetio%2Fhetnetpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetio%2Fhetnetpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hetio","download_url":"https://codeload.github.com/hetio/hetnetpy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240761133,"owners_count":19853256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["edge-prediction","graph","heterogeneous-network","hetnet","python","rephetio"],"created_at":"2024-12-01T21:11:36.072Z","updated_at":"2025-02-25T23:08:41.647Z","avatar_url":"https://github.com/hetio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hetnets in Python\n\n[![CI Status](https://img.shields.io/github/actions/workflow/status/hetio/hetnetpy/build.yaml?branch=main\u0026label=actions\u0026logo=github)](https://github.com/hetio/hetnetpy/actions)\n[![PyPI](https://img.shields.io/pypi/v/hetnetpy.svg?logo=pypi\u0026logoColor=white)](https://pypi.org/project/hetnetpy/)\n[![Latest DOI](https://zenodo.org/badge/14475/dhimmel/hetio.svg)](https://zenodo.org/badge/latestdoi/14475/dhimmel/hetio)\n[![GitHub issues](https://img.shields.io/github/issues/hetio/hetnetpy.svg?logo=github)](https://github.com/hetio/hetnetpy/issues)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?logo=python)](https://github.com/python/black)\n\n## Overview\n\nHetnetpy is a Python 3 package for creating, querying, and operating on hetnets.\nThis software provides convenient data structures for hetnets, as well as algorithms for edge prediction.\nIt is specifically tailored and streamlined for hetnets compared to other more generic network software.\nSee https://het.io/software for additional software packages designed specifically for hetnets.\n\n## Package relocation\n\nNote that this package was previously named `hetio`, available at the following repositories:\n\n- \u003chttps://github.com/hetio/hetnetpy\u003e (current)\n- \u003chttps://github.com/hetio/hetio\u003e (former)\n- \u003chttps://github.com/dhimmel/hetio\u003e (former)\n\nIn July 2019, the package was [renamed](https://github.com/hetio/hetnetpy/issues/40) to `hetnetpy` to more clearly represent its functionality and disambiguate it from other products.\n\n## Background\n\n**Hetnets**: Hetnets, also [called](https://doi.org/10.15363/thinklab.d104) *heterogeneous information networks*, are graphs with multiple node and edge types. Hetnets are both multipartite and multirelational. They provide a scalable, intuitive, and frictionless structure for data integration.\n\n**Purpose**: This package provides data structures for hetnets and algorithms for [edge prediction](http://het.io/hnep/). It only supports hetnets, which is its primary advantage compared to other network software. Node/edge attributes and edge directionality are supported.\n\n**Impetus**: Development originated with a [study](https://doi.org/10.1371/journal.pcbi.1004259 \"Heterogeneous Network Edge Prediction: A Data Integration Approach to Prioritize Disease-Associated Genes\") to predict disease-associated genes and continues with a successive [study](https://doi.org/10.7554/eLife.26726 \"Systematic integration of biomedical knowledge prioritizes drugs for repurposing\") to repurpose drugs.\n\n**Caution**: Documentation is currently spotty, testing coverage is moderate, and the API is not fully stable. Contributions are welcome. Please use [GitHub Issues](https://github.com/hetio/hetnetpy/issues) for feedback, questions, or troubleshooting.\n\n## Installation\n\n[![PyPI](https://img.shields.io/pypi/v/hetnetpy.svg?logo=pypi\u0026logoColor=white)](https://pypi.org/project/hetnetpy/)\n\nTo install the current PyPI version (recommended), run:\n\n```sh\npip install hetnetpy\n```\n\nFor the latest GitHub version, run:\n\n```sh\npip install git+https://github.com/hetio/hetnetpy.git#egg=hetnetpy\n```\n\nFor development, clone or download-and-extract the repository. Then run `pip install --editable .` from the repository's root directory. The `--editable` flag specifies [editable](https://pythonhosted.org/setuptools/setuptools.html#development-mode) mode, so updating the source updates your installation.\n\nOnce installed, tests can be executed by running `py.test test/` from the repository's root directory. \n\n## Design\n\nA Graph object stores a heterogeneous network and relies on the following classes:\n\n1. Graph\n2. MetaGraph\n3. Edge\n4. MetaEdge\n\n## Development\n\nThis repo uses pre-commit:\n\n```sh\n# run once per local repo before committing\npre-commit install\n```\n\nThis following is only relevant for maintainers.\nCreate a new release at \u003chttps://github.com/hetio/hetnetpy/releases/new\u003e.\nGitHub Actions will build the distribution and upload it to PyPI.\nThe version information inferred from the Git tag using [setuptools_scm](https://github.com/pypa/setuptools_scm/).\n\n## License\n\nThis repository is dual licensed, available under either or both of the following licenses:\n\n1. BSD-2-Clause Plus Patent License at [`LICENSE-BSD.md`](LICENSE-BSD.md)\n2. CC0 1.0 Universal Public Domain Dedication at [`LICENSE-CC0.md`](LICENSE-CC0.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhetio%2Fhetnetpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhetio%2Fhetnetpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhetio%2Fhetnetpy/lists"}