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

Uploaded Source

Built Distributions

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

graphtools-0.2.1-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

graphtools-0.2.1-py2-none-any.whl (25.2 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for graphtools-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e7ed5cdde82ee4cb62b6746ae38fb706c8b5230ec83b19b7efcfe735dc0c3632
MD5 2e144e626991a237feced21be058afbd
BLAKE2b-256 7ee8383edabd5b5b338082d8073d5e113e0c71a732909db6e6192c61c467b10b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: graphtools-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 24.4 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.0.1 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.5

File hashes

Hashes for graphtools-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 021b07f040821257ceb20d8e90e885ce378b1bf50f10dfd59784b02ac6947208
MD5 a4b1aaa70eefbc4e25a8777a16324d41
BLAKE2b-256 38c4e40155fbda2187ceea08eef544fcf91aae51a9b04850237d8fc06ea2f1de

See more details on using hashes here.

File details

Details for the file graphtools-0.2.1-py2-none-any.whl.

File metadata

  • Download URL: graphtools-0.2.1-py2-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.5

File hashes

Hashes for graphtools-0.2.1-py2-none-any.whl
Algorithm Hash digest
SHA256 36c018ffef1292b1c8fc8f505c5beeed977a2234bf3f53f3c04227269a9e6dd1
MD5 be04b7bd08ac54504b2c0f147dfb1f3d
BLAKE2b-256 803b168b076ccf62903739fb2a0ceab35813a8e7240e00e125f7d3d3e6452f32

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