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

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-1.3.0.tar.gz (33.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graphtools-1.3.0-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: graphtools-1.3.0.tar.gz
  • Upload date:
  • Size: 33.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.6

File hashes

Hashes for graphtools-1.3.0.tar.gz
Algorithm Hash digest
SHA256 7938f3e2889837df82005a4a01142bd465e7e7fba51ef143e09ccbf93d5a9fae
MD5 987df35e37574e8fefe7762b3e378834
BLAKE2b-256 43c174dfea0f96e8d995e02df80c69398a6ff8f2cb88dc89d59c7fba111163a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: graphtools-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 39.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.6

File hashes

Hashes for graphtools-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 803fca2a404ab4ba7d7f67cb0e989168ecacfed2169fbcd4a17f8f88383a6e5f
MD5 1a7143c215af5a92471d445ae81ca08e
BLAKE2b-256 4739b628550854c5acabce6b99e0e512fad741fa50bd298b9d5e0f7ea63171e7

See more details on using hashes here.

Supported by

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