Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
43 of 796 committers (5.4%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.4%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Network Analysis in Python
Basic Info
- Host: GitHub
- Owner: networkx
- License: other
- Language: Python
- Default Branch: main
- Homepage: https://networkx.org
- Size: 91.1 MB
Statistics
- Stars: 16,143
- Watchers: 283
- Forks: 3,393
- Open Issues: 396
- Releases: 62
Topics
Metadata Files
README.rst
NetworkX
========
.. image::
https://github.com/networkx/networkx/workflows/test/badge.svg?branch=main
:target: https://github.com/networkx/networkx/actions?query=workflow%3Atest
.. image::
https://codecov.io/gh/networkx/networkx/branch/main/graph/badge.svg?
:target: https://app.codecov.io/gh/networkx/networkx/branch/main
.. image::
https://img.shields.io/pypi/v/networkx.svg?
:target: https://pypi.python.org/pypi/networkx
.. image::
https://img.shields.io/pypi/l/networkx.svg?
:target: https://github.com/networkx/networkx/blob/main/LICENSE.txt
.. image::
https://img.shields.io/pypi/pyversions/networkx.svg?
:target: https://pypi.python.org/pypi/networkx
.. image::
https://img.shields.io/github/labels/networkx/networkx/good%20first%20issue?color=green&label=contribute
:target: https://github.com/networkx/networkx/contribute
NetworkX is a Python package for the creation, manipulation,
and study of the structure, dynamics, and functions
of complex networks.
- **Website (including documentation):** https://networkx.org
- **Mailing list:** https://groups.google.com/forum/#!forum/networkx-discuss
- **Source:** https://github.com/networkx/networkx
- **Bug reports:** https://github.com/networkx/networkx/issues
- **Report a security vulnerability:** https://tidelift.com/security
- **Tutorial:** https://networkx.org/documentation/latest/tutorial.html
- **GitHub Discussions:** https://github.com/networkx/networkx/discussions
- **Discord (Scientific Python) invite link:** https://discord.com/invite/vur45CbwMz
- **NetworkX meetings calendar (open to all):** https://scientific-python.org/calendars/networkx.ics
Simple example
--------------
Find the shortest path between two nodes in an undirected graph:
.. code:: pycon
>>> import networkx as nx
>>> G = nx.Graph()
>>> G.add_edge("A", "B", weight=4)
>>> G.add_edge("B", "D", weight=2)
>>> G.add_edge("A", "C", weight=3)
>>> G.add_edge("C", "D", weight=4)
>>> nx.shortest_path(G, "A", "D", weight="weight")
['A', 'B', 'D']
Install
-------
Install the latest released version of NetworkX:
.. code:: shell
$ pip install networkx
Install with all optional dependencies:
.. code:: shell
$ pip install networkx[default]
For additional details,
please see the `installation guide `_.
Bugs
----
Please report any bugs that you find `here `_.
Or, even better, fork the repository on `GitHub `_
and create a pull request (PR). We welcome all changes, big or small, and we
will help you make the PR if you are new to `git` (just ask on the issue and/or
see the `contributor guide `_).
License
-------
Released under the `3-clause BSD license `_::
Copyright (c) 2004-2025, NetworkX Developers
Aric Hagberg
Dan Schult
Pieter Swart
Owner
- Name: NetworkX
- Login: networkx
- Kind: organization
- Website: https://networkx.org/
- Repositories: 16
- Profile: https://github.com/networkx
Software for Complex Networks
Committers
Last synced: 6 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Aric Hagberg | a****g@g****m | 1,999 |
| Jarrod Millman | j****n@g****m | 686 |
| Dan Schult | d****t@c****u | 629 |
| Ross Barnowski | r****r@c****u | 415 |
| ysitu | y****u@u****m | 246 |
| Mridul Seth | s****l@g****m | 223 |
| chebee7i | c****i@g****m | 220 |
| Jordi Torrents | j****1@g****m | 170 |
| Jeffrey Finkelstein | j****n@g****m | 149 |
| swart | n****e@n****e | 120 |
| Erik Welch | e****h@g****m | 95 |
| Loïc Séguin-C. | l****n@g****m | 76 |
| Kemal Maulana | k****2@g****m | 67 |
| Chris Ellison | c****n@c****u | 49 |
| SanketDG | s****a@g****m | 48 |
| Ben Edwards | b****s@c****u | 37 |
| Gilles Peiffer | g****t@g****m | 36 |
| Aditi Juneja | 9****a@u****m | 32 |
| thegreathippo | t****o@g****m | 29 |
| JGab | j****g@g****m | 29 |
| Brandon Liu | b****u@g****m | 26 |
| Paula Pérez Bianchi | 4****b@u****m | 26 |
| Alejandro Weinstein | a****n@g****m | 24 |
| Stefan van der Walt | s****v@b****u | 23 |
| Navya Agarwal | 8****l@u****m | 21 |
| Michael-E-Rose | M****e@g****m | 21 |
| Matt Schwennesen | m****e@g****m | 19 |
| Niels van Adrichem | n****m@t****l | 18 |
| Alimi Qudirah | q****i@g****m | 18 |
| Thodoris Sotiropoulos | t****r@w****m | 17 |
| and 766 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 434
- Total pull requests: 1,746
- Average time to close issues: 5 months
- Average time to close pull requests: 3 months
- Total issue authors: 257
- Total pull request authors: 350
- Average comments per issue: 3.07
- Average comments per pull request: 2.3
- Merged pull requests: 1,059
- Bot issues: 0
- Bot pull requests: 38
Past Year
- Issues: 112
- Pull requests: 695
- Average time to close issues: 14 days
- Average time to close pull requests: 12 days
- Issue authors: 76
- Pull request authors: 122
- Average comments per issue: 1.59
- Average comments per pull request: 1.7
- Merged pull requests: 375
- Bot issues: 0
- Bot pull requests: 16
Top Authors
Issue Authors
- dschult (40)
- rossbar (37)
- Schefflera-Arboricola (13)
- MridulS (12)
- joyemang33 (11)
- jarrodmillman (9)
- eriknw (8)
- Peiffap (7)
- Qudirah (6)
- amcandio (5)
- richardrl (4)
- woQal (4)
- paulbrodersen (4)
- NeilGirdhar (3)
- mdealencar (3)
Pull Request Authors
- rossbar (274)
- eriknw (182)
- Peiffap (93)
- jarrodmillman (79)
- MridulS (78)
- dschult (74)
- Schefflera-Arboricola (60)
- dependabot[bot] (38)
- vanshika230 (31)
- amcandio (28)
- mjschwenne (23)
- Qudirah (17)
- akshitasure12 (16)
- Carreau (14)
- mohamedrezk122 (14)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 4
-
Total downloads:
- pypi 113,069,755 last-month
- Total docker downloads: 1,815,067,807
-
Total dependent packages: 3,471
(may contain duplicates) -
Total dependent repositories: 58,081
(may contain duplicates) - Total versions: 134
- Total maintainers: 6
pypi.org: networkx
Python package for creating and manipulating graphs and networks
- Homepage: https://networkx.org/
- Documentation: https://networkx.org/documentation/stable/
- License: BSD License
-
Latest release: 3.4.2
published over 1 year ago
Rankings
Maintainers (5)
conda-forge.org: networkx
NetworkX is a Python language software package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.
- Homepage: https://networkx.org/
- License: BSD-3-Clause
-
Latest release: 2.8.8
published over 3 years ago
Rankings
anaconda.org: networkx
NetworkX is a Python language software package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.
- Homepage: https://networkx.org
- License: BSD-3-Clause
-
Latest release: 3.4.2
published about 1 year ago
Rankings
pypi.org: graphalgo
Python package for creating and manipulating graphs and networks
- Homepage: https://networkx.org/
- Documentation: https://networkx.org/documentation/stable/
- License: other
-
Latest release: 3.5.1rc0.dev0
published 8 months ago
Rankings
Maintainers (1)
Dependencies
- matplotlib >=3.4
- numpy >=1.19
- pandas >=1.3
- scipy >=1.8
- mypy >=0.961
- pre-commit >=2.19
- nb2plots >=0.6
- numpydoc >=1.4
- pillow >=9.1
- pydata-sphinx-theme >=0.9
- sphinx >=5
- sphinx-gallery >=0.10
- texext >=0.6.6
- cairocffi >=1.3
- contextily >=1.2
- igraph >=0.9.8
- momepy >=0.5
- osmnx >=1.1
- seaborn >=0.11
- lxml >=4.6
- pydot >=1.4.2
- pygraphviz >=1.9
- sympy >=1.10
- build >=0.8
- twine >=4.0
- wheel >=0.37
- codecov >=2.1
- pytest >=7.1
- pytest-cov >=3.0
- larsoner/circleci-artifacts-redirector-action master composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- JamesIves/github-pages-deploy-action releases/v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- webfactory/ssh-agent v0.7.0 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite