Hetnets in Python
Hetnets in Python
This is the final release before the package name changes to
Future development will occur in the
PyPI releases will be available at https://pypi.org/project/hetnetpy/.
Users of v0.2.11 will see a warning when importing
These users should either switch to using
hetnetpy or downgrade to
hetio<=0.2.10 to avoid the warning.
Hetnets: Hetnets, also called 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.
Purpose: This package provides data structures for hetnets and algorithms for edge prediction. It only supports hetnets, which is its primary advantage compared to other network software. Node/edge attributes and edge directionality are supported.
Caution: Documentation is currently spotty, testing coverage is moderate, and the API is not fully stable. Contributions are welcome. Please use GitHub Issues for feedback, questions, or troubleshooting.
Please use Python 3.4 or higher. To install the current PyPI version (recommended), run:
pip install hetio
For the latest GitHub version, run:
pip install git+https://github.com/hetio/hetio.git#egg=hetio
For development, clone or download-and-extract the repository. Then run
pip install --editable . from the repository's root directory. The
--editable flag specifies editable mode, so updating the source updates your installation.
Once installed, tests can be executed by running
py.test test/ from the repository's root directory.
A Graph object stores a heterogeneous network and relies on the following classes:
Bump the version in
Add a release notes file in
release-notes. Format as a commit message that will be used as the GitHub release description.
Run the following commands:
TAG=v`python setup.py --version` git add hetio/__init__.py release-notes/$TAG.* git commit --message "Prepare $TAG release" git push git tag --annotate $TAG --file release-notes/$TAG.* git push upstream $TAG
- Recommended: Edit the GitHub release to improve formatting and add a Zenodo badge.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|hetio-0.2.11-py3-none-any.whl (30.1 kB) Copy SHA256 hash SHA256||Wheel||py3|
|hetio-0.2.11.tar.gz (26.4 kB) Copy SHA256 hash SHA256||Source||None|