From 3ab69f64fcddd44e5e33cd3823e0f65081745537 Mon Sep 17 00:00:00 2001 From: Schefflera-Arboricola <1509aditi@gmail.com> Date: Fri, 29 Dec 2023 20:44:14 +0530 Subject: [PATCH] replaced networkx.plugins with networkx.backends --- README.md | 25 +++++++++++++++++-------- pyproject.toml | 2 +- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ac3240c..bd3950d 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,28 @@ ## nx-parallel -nx-parallel is a NetworkX backend plugin that uses joblib and multiprocessing for parallelization. This project aims to provide parallelized implementations of various NetworkX functions to improve performance. +nx-parallel is a NetworkX backend that uses joblib for parallelization. This project aims to provide parallelized implementations of various NetworkX functions to improve performance. ## Features nx-parallel provides parallelized implementations for the following NetworkX functions: ``` -├── centrality -│ ├── betweenness_centrality -│ ├── closeness_vitality -├── tournament -│ ├── is_reachable -├── efficiency_measures -│ ├── local_efficiency +├── algorithms +│   ├── centrality +│   │   └── betweenness.py +│   │   ├── betweeness_centrality +│   ├── efficiency_measures.py +│   │ ├── local_efficiency +│   ├── isolate.py +│ │ ├── number_of_isolates +│   ├── shortest_paths +│   │   └── weighted.py +│   │   ├── all_pairs_dijkstra_path_length +│   ├── tournament.py +│   │ ├── is_reachable +│   │ ├── tournament_is_strongly_connected +│   └── vitality.py +│   ├── closeness_vitality ``` ![alt text](timing/heatmap_all_functions.png) diff --git a/pyproject.toml b/pyproject.toml index 5f09069..61e12ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ developer = [ 'pytest', ] -[project.entry-points."networkx.plugins"] +[project.entry-points."networkx.backends"] parallel = "nx_parallel.interface:Dispatcher" [tool.setuptools]