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 https://img.shields.io/pypi/pyversions/scikit-network.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.18.0 (2020-06-08)

  • Added Katz centrality

  • Refactor connectivity module into paths and topology

  • Refactor Diffusion into Dirichlet

  • Added parsers for adjacency list TSV and GraphML

  • Added shortest paths and distances

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.18.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.18.0
File
scikit_network-0.18.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
scikit_network-0.18.0-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
scikit_network-0.18.0-cp38-cp38-manylinux2010_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.12+ x86-64 Details
scikit_network-0.18.0-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
scikit_network-0.18.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
scikit_network-0.18.0-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
scikit_network-0.18.0-cp37-cp37m-manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details
scikit_network-0.18.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.18.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
scikit_network-0.18.0-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
scikit_network-0.18.0-cp36-cp36m-manylinux2010_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 Details
scikit_network-0.18.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: 12.3 MB

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

Download URL scikit_network-0.18.0-cp38-cp38-win_amd64.whl
Size 538.6 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
684876f9f321009148d70290e90e0b1daaa0a5628eeccf79c9fc916bf8475512
BLAKE2b-256 checksum
How to use checksums
a8ae19def3d2d747cb28b180543cbeda113055d3119e6c5a5b8749f2ca98fd4d
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.1 CPython/3.8.0

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

Download URL scikit_network-0.18.0-cp38-cp38-win32.whl
Size 466.2 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
7df6f3478c6f478d41517bf5dc4b19f00c954770599c4ae5b0e0f8ea661de00c
BLAKE2b-256 checksum
How to use checksums
9c306810b080716570fc075cba4ce8de3b01f94a0da0ee34748bb299b14814f1
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.1 CPython/3.8.0

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

Download URL scikit_network-0.18.0-cp38-cp38-manylinux2010_x86_64.whl
Size 2.5 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
8a0a1cc25cdbcb1f26e224c176d5072787c65be7c41da281993cd891a712a5fb
BLAKE2b-256 checksum
How to use checksums
d8fc21d4f86645f064b45a97137bd7de17757c1622abf71f57c8e08910112db5
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.1 CPython/3.6.7

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

Download URL scikit_network-0.18.0-cp38-cp38-macosx_10_9_x86_64.whl
Size 757.0 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
e51f86a6ffbdd0f39c851b46140ee2a021adeb09483f20ab266139b5467ad669
BLAKE2b-256 checksum
How to use checksums
9ce7684dd5cc5b01dc9712836bc3461e824e513b969e84f8c4ff0c9353bb15a3
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/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

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

Download URL scikit_network-0.18.0-cp37-cp37m-win_amd64.whl
Size 527.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
9717488aa33dc8e3b92873daf70f7f53cfbff0c1eaab2bfa80f92d176c5db131
BLAKE2b-256 checksum
How to use checksums
ea6170a93189101ec3b485795501a0cd637955ee2f58e4560c2f59500b04a789
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.1 CPython/3.8.0

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

Download URL scikit_network-0.18.0-cp37-cp37m-win32.whl
Size 457.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
4e68198ed96076bfaf46114dbe96279f97c87d833030b2273d43ad78e7a54ec7
BLAKE2b-256 checksum
How to use checksums
c1143f456467bd759ca4b1ebd3ade602d016afcfc0fb5255efc54ea78a10178e
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.1 CPython/3.8.0

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

Download URL scikit_network-0.18.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
c7f9ee3e948713a4ab080cb05a919e65b549e097a9ebbb4f1ba93ba7bf3c807a
BLAKE2b-256 checksum
How to use checksums
717863a0ad893f4ee50e985f6e098448f265717d7acbb52b965457ce6b6a5724
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.1 CPython/3.6.7

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

Download URL scikit_network-0.18.0-cp37-cp37m-macosx_10_9_x86_64.whl
Size 758.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
27120c5f606b3ae442441d37e88e7c1dd32f8eaf763993a7e0e9c0d88c458114
BLAKE2b-256 checksum
How to use checksums
24832ea39879de2fced201c11dd508d5aeb21b1b5f9cd04c326ca0e87d6ba9bf
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/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

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

Download URL scikit_network-0.18.0-cp36-cp36m-win_amd64.whl
Size 527.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
8ebdfd47633c56e47982369d4aaa493de6241a0ccdc61beefab043d7b9d5ff29
BLAKE2b-256 checksum
How to use checksums
c7fd9fc9895ef69d4d573007dbeaf8623c6b2f9f4d80d47925dedec97bd9358b
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.1 CPython/3.8.0

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

Download URL scikit_network-0.18.0-cp36-cp36m-win32.whl
Size 457.9 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
3eb050d6039828fc70ec08ebb285167950fc7f8dae91462f99a04f57265ad567
BLAKE2b-256 checksum
How to use checksums
2a2d707b61181b7d6cd4666f4e315444ab20828f60d9d30638f35e92cb1d06e5
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.1 CPython/3.8.0

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

Download URL scikit_network-0.18.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
483e2f71ee84b8f4549b9ffdd749b25383f11ed785d2cf553204e2b0801c2f7e
BLAKE2b-256 checksum
How to use checksums
7f04a6cf5f8a3e25e566d2114e2b7b4e5eb78a33260a30d25ab6b6c013f54d62
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.1 CPython/3.6.7

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

Download URL scikit_network-0.18.0-cp36-cp36m-macosx_10_9_x86_64.whl
Size 760.8 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
4314eb9a0a7ff355b1cde0144540f3926e204aab5ae741ac3b44fc4e73bc31f2
BLAKE2b-256 checksum
How to use checksums
9fb4f7ab82827a94e2dfcf441afcbd64359b3c62660fa2a87ebb97f00d703790
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/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 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.18.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