Skip to main content

graphtools

Project description

Latest PyPi version Latest Conda version Travis CI Build Read the Docs Coverage Status Twitter GitHub stars

Tools for building and manipulating graphs in Python.

Installation

graphtools is available on pip. Install by running the following in a terminal:

pip install --user graphtools

Alternatively, graphtools can be installed using Conda (most easily obtained via the Miniconda Python distribution):

conda install -c conda-forge graphtools

Or, to install the latest version from github:

pip install --user git+git://github.com/KrishnaswamyLab/graphtools.git

Alternatively, graphtools can be installed using [Conda](https://conda.io/docs/) (most easily obtained via the [Miniconda Python distribution](https://conda.io/miniconda.html)):

conda install -c conda-forge graphtools

Usage example

The graphtools.Graph class provides an all-in-one interface for k-nearest neighbors, mutual nearest neighbors, exact (pairwise distances) and landmark graphs.

Use it as follows:

from sklearn import datasets
import graphtools
digits = datasets.load_digits()
G = graphtools.Graph(digits['data'])
K = G.kernel
P = G.diff_op
G = graphtools.Graph(digits['data'], n_landmark=300)
L = G.landmark_op

Help

If you have any questions or require assistance using graphtools, please contact us at https://krishnaswamylab.org/get-help

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

graphtools-0.2.0.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

graphtools-0.2.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file graphtools-0.2.0.tar.gz.

File metadata

  • Download URL: graphtools-0.2.0.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for graphtools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b1607a6b4921234b61d889493e5100ac3d60f4475401f4759ba9ccd38f5cc945
MD5 95dc5967cbdf95177b56e33fc426e32b
BLAKE2b-256 0468ce36cecf6982e974d0306e249d2bcf88aa4637b7bdd1da0a39ee61ee1843

See more details on using hashes here.

File details

Details for the file graphtools-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: graphtools-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for graphtools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43a32499ce62ad8c93ba14f1346c07ff48a641f4e5fd4bb0b09d3651da86dc57
MD5 204d80210a1e4aa0387f5f9171d69989
BLAKE2b-256 40354a3ea6141d3bb4a2998eef734bd642a043549a0124277833b6183fa0b4ae

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