Skip to main content
logo sknetwork https://img.shields.io/pypi/v/scikit-network.svg https://travis-ci.org/sknetwork-team/scikit-network.svg Documentation Status https://codecov.io/gh/sknetwork-team/scikit-network/branch/master/graph/badge.svg

Python package for the analysis of large graphs:

  • Memory-efficient representation as sparse matrices in the CSR format of scipy

  • Fast algorithms

  • Simple API inspired by scikit-learn

Resources

Quickstart

Install scikit-network:

$ pip install scikit-network

Import scikit-network in a Python project:

import sknetwork as skn

See examples in the tutorials; the notebooks are available here.

History

0.17.0 (2020-05-07)

  • Add clustering by label propagation

  • Add models

  • Add function to build graph from edge list

  • Change a parameter in SVG visualization functions

  • Minor corrections

0.16.0 (2020-04-30)

  • Refactor basics module into connectivity

  • Cython version for label propagation

  • Minor corrections

0.15.2 (2020-04-24)

  • Clarified requirements

  • Minor corrections

0.15.1 (2020-04-21)

  • Added OpenMP support for all platforms

0.15.0 (2020-04-20)

  • Updated ranking module : new pagerank solver, new HITS params, post-processing

  • Polynomes in linear algebra

  • Added meta.name attribute for Bunch

  • Minor corrections

0.14.0 (2020-04-17)

  • Added spring layout in embedding

  • Added label propagation in classification

  • Added save / load functions in data

  • Added display edges parameter in svg graph exports

  • Corrected typos in documentation

0.13.3 (2020-04-13)

  • Minor bug

0.13.2 (2020-04-13)

  • Added wheels for multiple platforms (OSX, Windows (32 & 64 bits) and many Linux) and Python version (3.6/3.7/3.8)

  • Documentation update (SVG dendrograms, tutorial updates)

0.13.1a (2020-04-09)

  • Minor bug

0.13.0a (2020-04-09)

  • Changed from Numba to Cython for better performance

  • Added visualization module

  • Added k-nearest neighbors classifier

  • Added Louvain hierarchy

  • Added predict method in embedding

  • Added soft clustering to clustering algorithms

  • Added soft classification to classification algorithms

  • Added graphs in data module

  • Various API change

0.12.1 (2020-01-20)

  • Added heat kernel based node classifier

  • Updated loaders for WikiLinks

  • Fixed file-related issues for Windows

0.12.0 (2019-12-10)

  • Added VerboseMixin for verbosity features

  • Added Loaders for WikiLinks & Konect databases

0.11.0 (2019-11-28)

  • sknetwork: new API for bipartite graphs

  • new module: Soft node classification

  • new module: Node classification

  • new module: data (merge toy graphs + loader)

  • clustering: Spectral Clustering

  • ranking: new algorithms

  • utils: K-neighbors

  • hierarchy: Spectral WardDense

  • data: loader (Vital Wikipedia)

0.10.1 (2019-08-26)

  • Minor bug

0.10.0 (2019-08-26)

  • Clustering (and related metrics) for directed and bipartite graphs

  • Hierarchical clustering (and related metrics) for directed and bipartite graphs

  • Fix bugs on embedding algorithms

0.9.0 (2019-07-24)

  • Change parser output

  • Fix bugs in ranking algorithms (zero-degree nodes)

  • Add notebooks

  • Import algorithms from scipy (shortest path, connected components, bfs/dfs)

  • Change SVD embedding (now in decreasing order of singular values)

0.8.2 (2019-07-19)

  • Minor bug

0.8.1 (2019-07-18)

  • Added diffusion ranking

  • Minor fixes

  • Minor doc tweaking

0.8.0 (2019-07-17)

  • Changed Louvain, BiLouvain, Paris and PageRank APIs

  • Changed PageRank method

  • Documentation overhaul

  • Improved Jupyter tutorials

0.7.1 (2019-07-04)

  • Added Algorithm class for nicer repr of some classes

  • Added Jupyter notebooks as tutorials in the docs

  • Minor fixes

0.7.0 (2019-06-24)

  • Updated PageRank

  • Added tests for Numba versioning

0.6.1 (2019-06-19)

  • Minor bug

0.6.0 (2019-06-19)

  • Largest connected component

  • Simplex projection

  • Sparse Low Rank Decomposition

  • Numba support for Paris

  • Various fixes and updates

0.5.0 (2019-04-18)

  • Unified Louvain.

0.4.0 (2019-04-03)

  • Added Louvain for directed graphs and ComboLouvain for bipartite graphs.

0.3.0 (2019-03-29)

  • Updated clustering module and documentation.

0.2.0 (2019-03-21)

  • First real release on PyPI.

0.1.1 (2018-05-29)

  • First release on PyPI.

Metadata

Release files for scikit-network 0.17.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for scikit-network 0.17.0
File
scikit_network-0.17.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
scikit_network-0.17.0-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
scikit_network-0.17.0-cp38-cp38-manylinux2010_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.12+ x86-64 Details
scikit_network-0.17.0-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
scikit_network-0.17.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
scikit_network-0.17.0-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
scikit_network-0.17.0-cp37-cp37m-manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details
scikit_network-0.17.0-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details
scikit_network-0.17.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
scikit_network-0.17.0-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
scikit_network-0.17.0-cp36-cp36m-manylinux2010_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 Details
scikit_network-0.17.0-cp36-cp36m-macosx_10_9_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 Details

Total release size: 16.5 MB

Release files / scikit_network-0.17.0-cp38-cp38-win_amd64.whl

Download URL scikit_network-0.17.0-cp38-cp38-win_amd64.whl
Size 1.2 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
5604f75c2c2d60d86fb202db6de1b2ec6fbeda212fce2946d8ef6e59c4a686a1
BLAKE2b-256 checksum
How to use checksums
1db43d475f903eaffb26cc06967863e69f9c33af8c4762d3e5b5ee4fab796800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release files / scikit_network-0.17.0-cp38-cp38-win32.whl

Download URL scikit_network-0.17.0-cp38-cp38-win32.whl
Size 1.1 MB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
7f18975dd27576f9d03b641dccb2b4cd76ae6827cd7197702ff9fb630991401a
BLAKE2b-256 checksum
How to use checksums
796105bd1b8fb4ddb6e16db316016713b013f743bb8feb9e4f8f9fd096e837f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release files / scikit_network-0.17.0-cp38-cp38-manylinux2010_x86_64.whl

Download URL scikit_network-0.17.0-cp38-cp38-manylinux2010_x86_64.whl
Size 2.6 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
33d6d331ebf6e5c22223c2cfa70517f4f5bedd57f2a7145d10a929e2dca0fcb0
BLAKE2b-256 checksum
How to use checksums
43772e10f0a3ead38ae79d292c070748c7d37dc1479eac4b0e5515875e8608b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7

Release files / scikit_network-0.17.0-cp38-cp38-macosx_10_9_x86_64.whl

Download URL scikit_network-0.17.0-cp38-cp38-macosx_10_9_x86_64.whl
Size 780.5 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
c589cb78f03227e7ed8967c027f7b32c7688e2fe45d4ea60068746755fc789d0
BLAKE2b-256 checksum
How to use checksums
2549b7a7893fe123de817e5135bccf4e476c58da161095df9c73ce2589ab5e2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / scikit_network-0.17.0-cp37-cp37m-win_amd64.whl

Download URL scikit_network-0.17.0-cp37-cp37m-win_amd64.whl
Size 1.2 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
2a2b1ccac45aa8e612e79bad3c70498cbe62073c6a9f7c0b440965a6bd340d22
BLAKE2b-256 checksum
How to use checksums
a94314ab89e593967eff34adc0b0ec9fc06e7f1919e20a03f16666422a03576d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release files / scikit_network-0.17.0-cp37-cp37m-win32.whl

Download URL scikit_network-0.17.0-cp37-cp37m-win32.whl
Size 1.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
b40d94a81a6c3f07c5a0c3710d83dfc3557183fce5448010e8745c3687eccda7
BLAKE2b-256 checksum
How to use checksums
b1a676f1229426e6d1539229aa5868689db07ea7eb86eb547292e19f947708a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release files / scikit_network-0.17.0-cp37-cp37m-manylinux2010_x86_64.whl

Download URL scikit_network-0.17.0-cp37-cp37m-manylinux2010_x86_64.whl
Size 2.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
123a585b3bd76fc342c2fbaaabe3b3e6a6670db034d5b8abc82cc5c420572ed6
BLAKE2b-256 checksum
How to use checksums
677a60bc1953dda9458b0558e0f42b349f1181f3856ca38eb6b2354bb4a996f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7

Release files / scikit_network-0.17.0-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL scikit_network-0.17.0-cp37-cp37m-macosx_10_9_x86_64.whl
Size 775.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
bb057b4b0ef56d9d947b840041f9f5e0d37618dfea1ef70cc00a6485da85d1e1
BLAKE2b-256 checksum
How to use checksums
2aede77f168d119b4416aa856c689f8974d164876999a7e5b87725fece223915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / scikit_network-0.17.0-cp36-cp36m-win_amd64.whl

Download URL scikit_network-0.17.0-cp36-cp36m-win_amd64.whl
Size 1.2 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
f85c4e96c00ac3be409f553305c408d09887898b21187f4542f3ef0777d83857
BLAKE2b-256 checksum
How to use checksums
75b575b6cfb54cd90e8d4475be8b79b79568c88c3ff235e4bc7cabf04f31c34c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release files / scikit_network-0.17.0-cp36-cp36m-win32.whl

Download URL scikit_network-0.17.0-cp36-cp36m-win32.whl
Size 1.1 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
aee7127fccac5022f7c3f47b2f916b7cc83ddf0398ba016f5e4085d0d9cd587e
BLAKE2b-256 checksum
How to use checksums
e754408fa36a3ca5fbc73f564d474ee4f6cff8c65c1040cbc104c702868d7a61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release files / scikit_network-0.17.0-cp36-cp36m-manylinux2010_x86_64.whl

Download URL scikit_network-0.17.0-cp36-cp36m-manylinux2010_x86_64.whl
Size 2.3 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
b12eab72289dd96a0694307adf7de0635cca2703c4cb3d7bc0791be1fb47211a
BLAKE2b-256 checksum
How to use checksums
3610686bf410d43067620e38f54f628cfd89422b1e52e4497d0692a66a6dae16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7

Release files / scikit_network-0.17.0-cp36-cp36m-macosx_10_9_x86_64.whl

Download URL scikit_network-0.17.0-cp36-cp36m-macosx_10_9_x86_64.whl
Size 777.6 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
d579b9335d48d3f022909300b34d276833422c9c70985abd3d776ef704105796
BLAKE2b-256 checksum
How to use checksums
52d940ccb1bd08713a89a89879944a146b4937edf26713e13af916de7343c2dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release history Release notifications | RSS feed

0.32.0

4 release files

0.21.0

9 release files

This release

0.17.0 This release

12 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.1

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page